* Initialize the File System worker with the files.
(files: FilesMap)
| 89 | * Initialize the File System worker with the files. |
| 90 | */ |
| 91 | public async init(files: FilesMap): Promise<void> { |
| 92 | // Await the sent event to know when the worker |
| 93 | // is done writing the files. |
| 94 | await this.channel.send('fs/init', { files }); |
| 95 | } |
| 96 | |
| 97 | /** |
| 98 | * Read a file at the given path. |
no test coverage detected