Function wasmer_wasix::syscalls::__sock_actor

source ยท
pub(crate) fn __sock_actor<T, F>(
    ctx: &mut FunctionEnvMut<'_, WasiEnv>,
    sock: Fd,
    rights: Rights,
    actor: F,
) -> Result<T, Errno>
where T: 'static, F: FnOnce(InodeSocket, Fd) -> Result<T, Errno>,
Expand description

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