add
Sets a typed channel flag.
Function
Synopsis
channel_flags:add( flag )
Arguments
ChannelFlag flag- A constant from
mux.comsys.flags.
Returns
boolean changedtruewhen the flag was newly set andfalsewhen it was already set.
Raises
mux.unavailable.checkingduring@lua/check.mux.channel.invalidif the originating channel was destroyed.mux.channel_flag.invalidifflagis not a typed constant from this Lua runtime.
Notes
Flag changes take effect immediately and are not part of the Lua State transaction.