Skip to main content

Module signal

Module signal 

Source
Expand description

Events: key presses, screen touches, network messages, components appearing, and so on. OpenComputers queues them per computer.

Enums§

Signal
A signal, decoded when it is one of OpenComputers’ standard ones.

Functions§

pull
Waits for the next signal. None waits forever; a timeout that passes returns None.
pull_filtered
Waits for a signal that filter accepts, discarding others, until the timeout (if any) runs out.
push
Queues a signal on this computer. false if the queue is full.