PublicSimpleEvent
From Web Computing Documentation
interface PublicSimpleEvent
- henkolib
- henkolib.events
- henkolib.events.PublicSimpleEvent
- henkolib.events
Interface overview
This is a public interface for a SimpleEvent. Through this interface anyone can subscribe to or unscribscribe from an Event. The actual Event object should be kept private and should be published by this interface.
Public functions
subscribe (func : Void->Void)
func Callback function.
Subscribe the given callback function.
unsubscribe (func : Void->Void)
func Callback function.
Unsubscribe the given callback function