- Example
- class !MainLoop?
def callback()
- def main(self,[string? argv)
Event x=Event()
self.callback()
- def registerCallBack(self,def callback())
- self.callback=callback
- class Event
- def init(self,!MainLoop? main)
- main.registerCallback(self.callback)
- def callback(self)
- stdio.print("Hello World")