@enea-entertainment/signals
TypeScript icon, indicating that this package has built-in type declarations

5.0.1 • Public • Published

Signals

Santa's little helper

Dependency: @enea-entertainment/signal


Installation

npm install --save-dev @enea-entertainment/signals

NPM


Usage example

import { createSignals, destroySignals } from '@enea-entertainment/signals';

// will create signals object with update and remove MiniSignal(s)
this.signals = createSignals(['update', 'remove']);

// will detach all listeners from update and remove signals
destroySignals(this.signals);

License

MIT, see LICENSE for details.

Readme

Keywords

Package Sidebar

Install

npm i @enea-entertainment/signals

Homepage

www.enea.sk/

Weekly Downloads

1

Version

5.0.1

License

(c) Copyright 2013-2023 Martin Filo - ENEA, all rights reserved.

Unpacked Size

4.71 kB

Total Files

6

Last publish

Collaborators

  • enea-entertainment