Function deno_core::op_async_unref[][src]

pub fn op_async_unref<F, A, B, R, RV>(op_fn: F) -> Box<OpFn> where
    F: Fn(Rc<RefCell<OpState>>, A, B) -> R + 'static,
    A: DeserializeOwned,
    B: DeserializeOwned,
    R: Future<Output = Result<RV, AnyError>> + 'static,
    RV: Serialize + 'static, 
Expand description

Creates an op that passes data asynchronously using JSON.

When this op is dispatched, the runtime still can exit while processing it.

The other usages are the same as op_async.