@dxos/async
Advanced tools
Comparing version 1.0.0-beta.3 to 1.0.0-beta.4
@@ -31,3 +31,3 @@ /** | ||
*/ | ||
export declare class Event<T> implements ReadOnlyEvent<T> { | ||
export declare class Event<T = void> implements ReadOnlyEvent<T> { | ||
private readonly _listeners; | ||
@@ -59,3 +59,3 @@ private readonly _onceListeners; | ||
* | ||
* NOTE: It is recomended to us `Event.on`'s return value. | ||
* NOTE: It is recomended to use `Event.on`'s return value instead. | ||
* | ||
@@ -98,3 +98,3 @@ * If the callback is not subscribed this is no-op. | ||
*/ | ||
export interface ReadOnlyEvent<T> { | ||
export interface ReadOnlyEvent<T = void> { | ||
/** | ||
@@ -101,0 +101,0 @@ * Register an event listener. |
@@ -86,3 +86,3 @@ "use strict"; | ||
* | ||
* NOTE: It is recomended to us `Event.on`'s return value. | ||
* NOTE: It is recomended to use `Event.on`'s return value instead. | ||
* | ||
@@ -89,0 +89,0 @@ * If the callback is not subscribed this is no-op. |
{ | ||
"name": "@dxos/async", | ||
"version": "1.0.0-beta.3", | ||
"version": "1.0.0-beta.4", | ||
"description": "Basic async utils", | ||
@@ -5,0 +5,0 @@ "files": [ |
Sorry, the diff of this file is not supported yet
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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
72691
0