PublicSimpleEvent

From Web Computing Documentation
Jump to: navigation, search

interface PublicSimpleEvent

  • henkolib
    • henkolib.events
      • henkolib.events.PublicSimpleEvent

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

Personal tools
Modules