[][src]Function dart_sys::Dart_SetEmbedderInformationCallback

pub unsafe extern "C" fn Dart_SetEmbedderInformationCallback(
    callback: Dart_EmbedderInformationCallback
)

Register a Dart_ServiceRequestCallback to be called to handle requests for the named rpc. The callback will be invoked without a current isolate.

\param method The name of the command that this callback is responsible for. \param callback The callback to invoke. \param user_data The user data passed to the callback.

NOTE: If multiple callbacks with the same name are registered, only the last callback registered will be remembered.