mirror of
https://github.com/MightyPirates/OpenComputers.git
synced 2025-08-04 03:27:19 -04:00
Updated API Event (markdown)
parent
04b4abe03e
commit
932263fdea
@ -1,3 +1,10 @@
|
|||||||
|
[](http://ocdoc.cil.li/)
|
||||||
|
|
||||||
|
For those that don't like images: the wiki has moved to a new place, http://ocdoc.cil.li/.
|
||||||
|
*This wiki will no longer be updated.*
|
||||||
|
|
||||||
|
****
|
||||||
|
|
||||||
This API provides a rudimentary event system. It is primarily intended to be used by libraries, to allow them to be notified of [[signals|Signals]]. For example, this is used to automatically bind the primary screen to the primary GPU, to check whether the [[terminal|API/Term]] is available, and to execute autorun programs on newly installed file systems.
|
This API provides a rudimentary event system. It is primarily intended to be used by libraries, to allow them to be notified of [[signals|Signals]]. For example, this is used to automatically bind the primary screen to the primary GPU, to check whether the [[terminal|API/Term]] is available, and to execute autorun programs on newly installed file systems.
|
||||||
|
|
||||||
- `event.listen(name: string, callback: function): boolean`
|
- `event.listen(name: string, callback: function): boolean`
|
||||||
|
Loading…
x
Reference in New Issue
Block a user