Type Alias dart_sys::Dart_ServiceStreamListenCallback
source · 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),
}