Compartilhar via


MulticastEvent class

Implements a simple typed multicast event.

Methods

emit(TArgs)
off(EventListener<TArgs>)
on(EventListener<TArgs>)

Method Details

emit(TArgs)

function emit(args: TArgs)

Parameters

args

TArgs

off(EventListener<TArgs>)

function off(listener: EventListener<TArgs>)

Parameters

listener

EventListener<TArgs>

on(EventListener<TArgs>)

function on(listener: EventListener<TArgs>)

Parameters

listener

EventListener<TArgs>