@hazae41/plume
Advanced tools
Comparing version 3.0.1 to 3.0.2
@@ -16,8 +16,7 @@ import { Disposer } from '@hazae41/disposer'; | ||
type SuperEventWaiter<T extends SuperEventDescriptor, R> = (future: Future<R>, ...params: Parameters2<T>) => Awaitable<Voidable<Cancel<ReturnType<T>>>>; | ||
interface InternalSuperEventListenerOptions extends AddEventListenerOptions { | ||
off: () => void; | ||
interface DisposableAddEventListenerOptions extends AddEventListenerOptions, Disposable { | ||
} | ||
declare class SuperEventTarget<M extends SuperEventMap> { | ||
#private; | ||
get listeners(): Map<keyof M, Map<SuperEventListener<any>, InternalSuperEventListenerOptions>>; | ||
get listeners(): Map<keyof M, Map<SuperEventListener<any>, DisposableAddEventListenerOptions>>; | ||
/** | ||
@@ -24,0 +23,0 @@ * Add a listener to an event |
{ | ||
"type": "module", | ||
"name": "@hazae41/plume", | ||
"version": "3.0.1", | ||
"version": "3.0.2", | ||
"description": "Typed async events with sequenced and parallel dispatching", | ||
@@ -6,0 +6,0 @@ "homepage": "https://github.com/hazae41/plume", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
104341
630