@effected/jsonl 0.15.0 → 0.15.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/NodeJournalWatcher.js +3 -3
- package/node.d.ts +2 -2
- package/package.json +1 -1
package/NodeJournalWatcher.js
CHANGED
|
@@ -34,7 +34,7 @@ const identityAt = (path) => {
|
|
|
34
34
|
/**
|
|
35
35
|
* Register `fs.watch` synchronously, inside the acquire — so when the effect
|
|
36
36
|
* succeeds the platform watch is live, which is the contract
|
|
37
|
-
*
|
|
37
|
+
* `JournalWatcherShape.watch` states and core's
|
|
38
38
|
* `FileSystem.watch` cannot.
|
|
39
39
|
*
|
|
40
40
|
* A file watch follows the inode it was armed on, and Node emits neither
|
|
@@ -68,7 +68,7 @@ const watch = (path) => Effect.gen(function* () {
|
|
|
68
68
|
return Stream.fromQueue(queue);
|
|
69
69
|
});
|
|
70
70
|
/**
|
|
71
|
-
* The Node implementation of
|
|
71
|
+
* The Node implementation of `JournalWatcher` (from `@effected/jsonl`), over `node:fs`'s
|
|
72
72
|
* `watch`.
|
|
73
73
|
*
|
|
74
74
|
* Registration happens synchronously while the watch effect runs, so a
|
|
@@ -96,7 +96,7 @@ const watch = (path) => Effect.gen(function* () {
|
|
|
96
96
|
*/
|
|
97
97
|
var NodeJournalWatcher = class {
|
|
98
98
|
constructor() {}
|
|
99
|
-
/** Provides
|
|
99
|
+
/** Provides `JournalWatcher` (from `@effected/jsonl`) over `node:fs`. */
|
|
100
100
|
static layer = Layer.succeed(JournalWatcher, { watch });
|
|
101
101
|
};
|
|
102
102
|
|
package/node.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as Jsonl from "@effected/jsonl";
|
|
2
2
|
import { Layer } from "effect";
|
|
3
3
|
/**
|
|
4
|
-
* The Node implementation of
|
|
4
|
+
* The Node implementation of `JournalWatcher` (from `@effected/jsonl`), over `node:fs`'s
|
|
5
5
|
* `watch`.
|
|
6
6
|
*
|
|
7
7
|
* Registration happens synchronously while the watch effect runs, so a
|
|
@@ -29,7 +29,7 @@ import { Layer } from "effect";
|
|
|
29
29
|
*/
|
|
30
30
|
export declare class NodeJournalWatcher {
|
|
31
31
|
private constructor();
|
|
32
|
-
/** Provides
|
|
32
|
+
/** Provides `JournalWatcher` (from `@effected/jsonl`) over `node:fs`. */
|
|
33
33
|
static readonly layer: Layer.Layer<Jsonl.JournalWatcher>;
|
|
34
34
|
}
|
|
35
35
|
//# sourceMappingURL=node.d.ts.map
|