comm_channel_bind
Registers a delivery callback for a channel ID in the current VM.
One delivery half is stored per channel ID and VM. Rebinding replaces the previous callback, including the callback used by channel.Event. Prefer the channel object for normal use.
comm_channel_bind(id: number, callback: function): ()Parameters
| Parameter | Type | Description |
|---|---|---|
id | number | Channel ID. |
callback | function | Function receiving delivered values. |
