1.1.0 • Published 11 months ago

multicast-function v1.1.0

Weekly downloads
-
License
MIT
Repository
github
Last release
11 months ago

multicast-function

What is it

Multicast function

Where to use

Functions are the foundation of events, and events can have multiple subscribers, hence the need for multicast functions.

How to use

const multicastFunction = new MulticastFunction<() => void>();
const func = () => {
};
multicastFunction.add(func);
multicastFunction.invoke();

For more examples, please refer to the unit tests.

1.1.0

11 months ago

1.0.1

11 months ago

1.0.0

11 months ago

0.3.0

12 months ago

0.2.0

12 months ago

0.1.0

12 months ago