IOSystem
This aggregates socket and file I/O information and behavior specific to an AvailRuntime.
Types
A BufferKey identifies a file buffer in the cache.
A FileHandle is an abstraction which wraps an AsynchronousFileChannel with some additional information like filename and buffer alignment. It gets stuffed in a pojo in a property of the atom that serves as Avail's most basic view of a file handle. Sockets use a substantially similar technique.
Properties
The thread pool executor for asynchronous file operations performed on behalf of this Avail runtime.
Functions
Schedule the specified task for eventual execution by the thread pool executor for asynchronous file operations. The implementation is free to run the task immediately or delay its execution arbitrarily. The task will not execute on an Avail thread.
Open an asynchronous file channel for the specified path.
Open an asynchronous file channel for the specified path.
Open an asynchronous server.
Open an asynchronous socket.