Socket
Socket
Sign inDemoInstall

@dxos/async

Package Overview
Dependencies
Maintainers
13
Versions
2980
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@dxos/async - npm Package Compare versions

Comparing version 1.0.0-beta.3 to 1.0.0-beta.4

6

dist/es/event.d.ts

@@ -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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc