functionalscript 0.11.4 → 0.11.5
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/io/module.f.js
CHANGED
package/package.json
CHANGED
|
@@ -68,7 +68,9 @@ export declare const createServer: Func<CreateServer>;
|
|
|
68
68
|
export type Listen = ['listen', (_: readonly [Server, number]) => void];
|
|
69
69
|
export declare const listen: RestFunc<Listen>;
|
|
70
70
|
export type Http = CreateServer | Listen;
|
|
71
|
-
export type
|
|
71
|
+
export type Forever = ['forever', () => never];
|
|
72
|
+
export declare const forever: Func<Forever>;
|
|
73
|
+
export type NodeOp = All | Fetch | Console | Fs | Http | Forever;
|
|
72
74
|
export type NodeEffect<T> = Effect<NodeOp, T>;
|
|
73
75
|
export type NodeOperationMap = ToAsyncOperationMap<NodeOp>;
|
|
74
76
|
export type NodeProgram = (argv: readonly string[]) => Effect<NodeOp, number>;
|