Comparing version 1.14.0 to 1.14.1
export type FanOutUnsubscribe = () => void; | ||
export type FanOutListener<D> = (data: D) => void; | ||
export declare class FanOut<D> { | ||
private readonly listeners; | ||
protected readonly listeners: Set<FanOutListener<D>>; | ||
emit(data: D): void; | ||
listen(listener: FanOutListener<D>): FanOutUnsubscribe; | ||
} |
export type FanOutUnsubscribe = () => void; | ||
export type FanOutListener<D> = (data: D) => void; | ||
export declare class FanOut<D> { | ||
private readonly listeners; | ||
protected readonly listeners: Set<FanOutListener<D>>; | ||
emit(data: D): void; | ||
listen(listener: FanOutListener<D>): FanOutUnsubscribe; | ||
} |
export type FanOutUnsubscribe = () => void; | ||
export type FanOutListener<D> = (data: D) => void; | ||
export declare class FanOut<D> { | ||
private readonly listeners; | ||
protected readonly listeners: Set<FanOutListener<D>>; | ||
emit(data: D): void; | ||
listen(listener: FanOutListener<D>): FanOutUnsubscribe; | ||
} |
{ | ||
"name": "thingies", | ||
"version": "1.14.0", | ||
"version": "1.14.1", | ||
"description": "", | ||
@@ -5,0 +5,0 @@ "author": { |
# thingies | ||
Useful TypeScript utilities. | ||
Useful TypeScript utilities. [__Documentation__](https://streamich.github.io/thingies). | ||
@@ -5,0 +5,0 @@ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
82433