- handleRequest(
port: Port,
fs: FileSystem & { _descriptors?: Map<number, File<FileSystem>> },
request: FSRequest<
| "link"
| "write"
| "rename"
| "stat"
| "createFile"
| "openFile"
| "unlink"
| "rmdir"
| "mkdir"
| "readdir"
| "sync"
| "read"
| "ready"
| "exists"
| "metadata",
>,
): Promise<void> Internal
Parameters
- port: Port
- fs: FileSystem & { _descriptors?: Map<number, File<FileSystem>> }
- request: FSRequest<
| "link"
| "write"
| "rename"
| "stat"
| "createFile"
| "openFile"
| "unlink"
| "rmdir"
| "mkdir"
| "readdir"
| "sync"
| "read"
| "ready"
| "exists"
| "metadata",
>
Returns Promise<void>