(options)
| 65 | }; |
| 66 | |
| 67 | const utils = async (options) => { |
| 68 | const script = await donkey(options); |
| 69 | const { xworker, process, terminal } = script; |
| 70 | const { execute, evaluate } = xworker.sync; |
| 71 | script.remove(); |
| 72 | return { |
| 73 | xworker, |
| 74 | process, |
| 75 | terminal, |
| 76 | execute, |
| 77 | evaluate, |
| 78 | }; |
| 79 | }; |
| 80 | |
| 81 | export default async (options = {}) => { |
| 82 | let farmer = await utils(options); |