SignalEmitter.connect() method

Signature:

connect(callback: (value: T) => void): () => void;

Parameters

Parameter

Type

Description

callback

(value: T) => void

**Returns:**

() => void