HelpWizard Pages ReferenceManual7 Smalltalk/en
Zur Navigation springen
Zur Suche springen
Reference Manual Smalltalk API (Events)[Bearbeiten]
- self pushEvent: payload
pushes an event with type "default" onto the global (default) event queue.
- self pushEventType: eventType
pushes an event with given type, but no payload onto the global (default) event queue.
- self pushEventType: eventType data: payload
pushes an event with given type and payload onto the global (default) event queue. Payload can be a string or a byteArray, however, strings is preferred. If complex payloads are to be transferred, encode it as JSON.