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

Aliased Type§

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.