[][src]Function dart_sys::Dart_SetNativeServiceStreamCallback

pub unsafe extern "C" fn Dart_SetNativeServiceStreamCallback(
    consumer: Dart_NativeStreamConsumer,
    stream_id: *const c_char
)

Sets the native VM service stream callbacks for a particular stream. Note: The function may be called on multiple threads concurrently.

\param consumer A function pointer to an event handler callback function. A NULL value removes the existing listen callback function if any.

\param stream_id The ID of the stream on which to set the callback.