code: function(e) {
          var data = e.data;
          if(data.forge && data.forge.prng) {
            ctx.seedFile(data.forge.prng.needed, function(err, bytes) {
              worker.postMessage({forge: {prng: {err: err, bytes: bytes}}});
            });
          }
        }
docs: main thread sends random bytes upon request