Function wasmer_wasix::syscalls::__sock_asyncify

source ยท
pub(crate) fn __sock_asyncify<T, F, Fut>(
    env: &WasiEnv,
    sock: Fd,
    rights: Rights,
    actor: F,
) -> Result<T, Errno>
where F: FnOnce(InodeSocket, Fd) -> Fut, Fut: Future<Output = Result<T, Errno>>,
Expand description

Performs an immutable operation on the socket while running in an asynchronous runtime This has built in signal support