pub type Dart_ServiceStreamListenCallback = Option<unsafe extern "C" fn(stream_id: *const c_char) -> bool>;
Expand description

A callback invoked when the VM service gets a request to listen to some stream.

\return Returns true iff the embedder supports the named stream id.

Aliased Type§

enum Dart_ServiceStreamListenCallback {
    None,
    Some(unsafe extern "C" fn(_: *const i8) -> bool),
}

Variants§

§1.0.0

None

No value.

§1.0.0

Some(unsafe extern "C" fn(_: *const i8) -> bool)

Some value of type T.