Module wasm

Source
Expand description

Re-export types to make sure wasm_bindgen picks them up

Modulesยง

communication_backend ๐Ÿ”’
discover ๐Ÿ”’
ipc_client ๐Ÿ”’
message ๐Ÿ”’

Structsยง

ChannelError
DeserializeError
JsCommunicationBackend
JavaScript implementation of the CommunicationBackend trait for IPC communication.
JsCommunicationBackendSender
JavaScript interface for handling outgoing messages from the IPC framework.
JsIpcClient
JavaScript wrapper around the IPC client. For more information, see the IpcClient documentation.
JsIpcClientSubscription
JavaScript wrapper around the IPC client subscription. For more information, see the IpcClientSubscription documentation.

Functionsยง

ipc_register_discover_handler
Registers a DiscoverHandler so that the client can respond to DiscoverRequests.
ipc_request_discover
Sends a DiscoverRequest to the specified destination and returns the response.