set_object
Attaches or detaches the object supplying this channel’s locks and description.
Function
Synopsis
channel:set_object( object )
Arguments
number, Object, or nil object- A live object to attach. This argument is required; pass
nilexplicitly to detach the current object.
Returns
Nothing.
Raises
mux.unavailable.checkingduring@lua/check.mux.arg.invalidifobjectis omitted.mux.channel.invalidif the channel handle is stale.mux.object.invalidif the object reference is invalid.mux.object.unavailableif the object is being destroyed.