From Web Computing Documentation
Jump to: navigation, search

interface PublicSimpleEvent

  • henkolib

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