Skip to content

Commit

Permalink
Release 0.0.5
Browse files Browse the repository at this point in the history
  • Loading branch information
pjeby committed May 27, 2024
1 parent b763327 commit 3224070
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "uneventful",
"version": "0.0.4",
"version": "0.0.5",
"description": "Declarative, event-driven reactivity: signals, streams, structured concurrency, and easy resource cleanup",
"keywords": [
"signals",
Expand Down
10 changes: 5 additions & 5 deletions src/sources.ts
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ export function fromDomEvent<T extends EventTarget, K extends string>(
* Convert an iterable to a synchronous event source
*
* Each time the resulting source is subscribed to, it will emit an event for
* each item in the iterator, then close the conduit. Pause/resume is
* each item in the iterator, then close the connection. Pause/resume is
* supported.
*
* @category Stream Producers
Expand Down Expand Up @@ -145,10 +145,10 @@ export function fromIterable<T>(iterable: Iterable<T>): Source<T> {
* Convert a Promise to an event source
*
* Each time the resulting source is subscribed to, it will emit an event for
* the result of the promise, then close the conduit. (Unless the promise is
* rejected, in which case the conduit throws and closes each time the source is
* subscribed.) Non-native promises and non-promise values are converted using
* Promise.resolve().
* the result of the promise, then close the connection. (Unless the promise is
* rejected, in which case the connection throws and closes each time the source
* is subscribed.) Non-native promises and non-promise values are converted
* using Promise.resolve().
*
* @category Stream Producers
*/
Expand Down
4 changes: 2 additions & 2 deletions src/streams.ts
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ export interface Inlet {
/** Is the main connection open? (i.e. is the creating job not closed yet?) */
isOpen(): boolean

/** Is the conduit currently ready to receive data? */
/** Is the connection ready to receive data? */
isReady(): boolean

/**
Expand Down Expand Up @@ -199,7 +199,7 @@ class _Throttle implements Throttle {

isOpen(): boolean { return !this._job?.result(); }

/** Is the conduit currently ready to receive data? */
/** Is the connection ready to receive data? */
isReady(): boolean { return this.isOpen() && this._isReady; }

_isReady = true;
Expand Down

0 comments on commit 3224070

Please sign in to comment.