Expand description
Async file I/O operations for the io module.
Provides non-blocking file read/write using tokio’s async file API.
These integrate with the VM’s async/await system via AsyncModuleFn.
Functions§
- io_
append_ file_ async - io.append_file_async(path: string, data: string) -> int
- io_
exists_ async - io.exists_async(path: string) -> bool
- io_
read_ bytes_ async - io.read_bytes_async(path: string) -> Array
- io_
read_ file_ async - io.read_file_async(path: string) -> string
- io_
write_ file_ async - io.write_file_async(path: string, data: string) -> int