# class EventSignal0<E>

#### package com.turner.top.lib.events

#### extends EventSignal<E>

#### implements ISignal0

An event signal with no arguments to send

### Constructor

###

`new (type:E)`

### Methods

###

`after ():SimpleEventSignal0<E>`

Triggered after the signal

###

`around ():SimpleEventSignal0<E>`

Triggered after 'before' and after the 'signal' // TODO: implement event interrupt for around

###

`before ():SimpleEventSignal0<E>`

Triggered before the signal

###

`dispatch ():Void`

Trigger the signal to execute any registered callback functions

###

`hasListener (cb:Void ‑> Void):Bool`

Check if the callback is already registered to this signal

Parameters:

`cb` | The callback function to check

Returns:

true if the callback function is registered to this signal

###

`listen (cb:Void ‑> Void):Void`

Register a callback to execute if the signal is dispatched

Parameters:

`cb` | The callback function to execute

###

`observe (cb:Void ‑> Void):Void`

Register a callback to execute if the signal is dispatched

Parameters:

`cb` | The callback function to register

###

`once (cb:Void ‑> Void):Void`

Registers a callback to execute if the signal is dispatched Upon dispatch, the callback will automatically be unlistened

Parameters:

`cb` | The callback function to execute once

###

`unlisten (cb:Void ‑> Void):Void`

Unregister the callback from this signal

Parameters:

`cb` | The callback function to unregister

###

`unobserve (cb:Void ‑> Void):Void`

Unregister the callback from this signal

Parameters:

`cb` | The callback function to unregister

### Inherited Variables

#### Defined by EventSignal

###

`read onlytype:E`

Instace members

### Inherited Methods