numeric
A value indicating the execution mode for channel polling. This element is only valid when the channel.poll element is set, i.e. when polling on channel is active.
This element can have a value of 0 through 3, and determines whether or not an event on channel results in execution of the channel.exec or channel.done command procedures. For server channels this element has no meaning.
0 - Command(s) in the procedure will be executed at the earliest opportunity as soon as execution of the current language command has completed.
1 - The procedure (.exec or .done) will only be executed if the master (on- screen) menus are currently active. External processes containing on-screen menus usually have this value.
2 - Similar to 0, but data on the channel is compressed so that only the last event is executed. This prevents many events being buffered on the channel waiting for execution.
3 - Similar to 1, but data on the channel is compressed so that only the last event is executed.
On newly-opened channels, this element has a value of 0.