Type Alias JsThreadServiceCallback

pub type JsThreadServiceCallback = Option<unsafe extern "system" fn(callback: JsBackgroundWorkItemCallback, callbackstate: *const c_void) -> bool>;

Aliased Type§

pub enum JsThreadServiceCallback {
    None,
    Some(unsafe extern "system" fn(Option<unsafe extern "system" fn(*const c_void)>, *const c_void) -> bool),
}

Variants§

§1.0.0

None

No value.

§1.0.0

Some(unsafe extern "system" fn(Option<unsafe extern "system" fn(*const c_void)>, *const c_void) -> bool)

Some value of type T.