Interface: ReactivityHub

index.ReactivityHub

Reactive pipeline hub for managing scoped hooks and telemetry channels.

Table of contents

Methods

Methods

clear

clear(): void

Clears and unregisters all hooks currently attached to this hub.

Returns

void


use

use(hooks): () => void

Registers hooks with this hub.

Parameters

Name Type Description
hooks ReactivityHooks Reactivity lifecycle hooks to attach.

Returns

fn

An unregister function to remove the hooks.

(): void

Registers hooks with this hub.

Returns

void

An unregister function to remove the hooks.