Smalltalk/X WebserverDocumentation of class 'MessageChannel': | |
Class: MessageChannelInheritance:Object | +--Message | +--MessageSend | +--MessageChannel
Description:MessageChannel provides the same functionality as MessageSend. It has been provided for ST-80 compatibility. Like with MessageSend, instances of MessageChannel can be used for simulation programs. They keep some receiver and selector and can be evaluated at any time later. (think of them as a cheaper alternative to blocks). In contrast to MessageSend, MessageChannels expect arguments to be passed if all sends are going to the same receiver, use: example: |q| q := Queue new:120. 1 to:100 do:[:i | q nextPut:(MessageChannel receiver:i selector:#+). ]. [q notEmpty] whileTrue:[ |m| m := q next. (m value:1) printNL. ]. Class protocol:instance creation
Instance protocol:evaluation
|
|
ST/X 7.7.0.0; WebServer 1.702 at 20f6060372b9.unknown:8081; Sun, 22 Dec 2024 07:31:17 GMT |