wasmer_wasix::syscalls

Function __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