public string Compile(string sourceCode, Type compilerType, object[] args)
        {
            EnsureJSThreadStarted();
            var ret = new JSWorkItem(sourceCode, compilerType, args);

            workQueue.Enqueue(ret);
            return(ret.GetValueSync());
        }
 public string Compile(string sourceCode, Type compilerType, object[] args)
 {
     var ret = new JSWorkItem(sourceCode, compilerType, args);
     workQueue.Enqueue(ret);
     return ret.GetValueSync();
 }