-
be28d45:
subscribe
will now return a function that will unsubscribe the listener - useful for use in React side effects:useEffect(() => event.subscribe(listener), []);
-
2af5aca:
Event
now providesonSubscribe
andonUnsubscribe
events that are emitted when new subscribers are added or removed.
- 08e74a7: Remove the dependency to
@miniplex/bucket
and use a normalSet
instead. - 451339b: Changed the way events are typed to use tuple types.
- ab26346:
subscribe
,unsubscribe
,publish
.