code: function(params, done) {
        var messageId = generateMessageId();
  
        assert(params.loaderContext && typeof params.loaderContext === 'object');
        assert(!!fd, "You must launch a compilation thread before attempting to use it!!!");
  
        callbacks[messageId] = done;
  
        if (config.debug) {
          console.log('HappyThread[%s]: compiling "%s"... (request=%s)', id, params.loaderContext.resourcePath, messageId);
        }
  
        send({
          id: messageId,
          name: 'COMPILE',
          data: params,
        });
      }
docs: @param {Object} params
  @param {String} params.compiledPath
  @param {Object} params.loaderContext
  
  @param {Function} done