[−][src]Module ipc_channel::router
Routers allow converting IPC channels to crossbeam channels.
The RouterProxy provides various methods to register IpcReceiver<T>
s.
The router will then either call the appropriate callback
or route the message to a crossbeam Sender<T>
or Receiver<T>
.
You should use the global ROUTER
to access the RouterProxy
methods (via ROUTER
's
Deref
for RouterProxy
.
Structs
ROUTER | Global object wrapping a |
RouterProxy | A |
Type Definitions
RouterHandler | Function to call when a new event is received from the corresponding receiver. |