4.0.1 • Published 5 years ago

@ciebit/hermes v4.0.1

Weekly downloads
4
License
MIT
Repository
github
Last release
5 years ago

@ciebit/hermes

Provide event-like structure for communication between objects

Use

import Hermes from "@ciebit/hermes";

const hermes = new Hermes;

hermes.addListener('active', (text:string) => console.log(text));
hermes.dispache('active', 'Activated');


// For a single call to pass true in the third parameter
hermes.addListener('unique', () => console.log('Unique'), true)
4.0.1

5 years ago

4.0.0

5 years ago

3.0.2

7 years ago

3.0.1

7 years ago

3.0.0

7 years ago

2.0.0

7 years ago

1.0.2

7 years ago

1.0.1

7 years ago

1.0.0

7 years ago