Download .opencode/node_modules/effect/dist/unstable/cluster/DeliverAt.d.ts from Chenloong999/opencode-data: direct link, hf CLI and curl.
- Browser
- Download file 1.43 kB
-
https://huggingface.co/datasets/Chenloong999/opencode-data/resolve/main/.opencode/node_modules/effect/dist/unstable/cluster/DeliverAt.d.ts
- Command line
-
hf download hf://datasets/Chenloong999/opencode-data/.opencode/node_modules/effect/dist/unstable/cluster/DeliverAt.d.ts
-
curl -L -o DeliverAt.d.ts https://huggingface.co/datasets/Chenloong999/opencode-data/resolve/main/.opencode/node_modules/effect/dist/unstable/cluster/DeliverAt.d.ts
1.43 kB
| /** | |
| * The `DeliverAt` module defines the protocol used by cluster message payloads | |
| * that carry their own scheduled delivery time. A value implements the protocol | |
| * by exposing a method at the `DeliverAt` symbol that returns the target | |
| * `DateTime`. | |
| * | |
| * @since 4.0.0 | |
| */ | |
| import type { DateTime } from "../../DateTime.ts"; | |
| /** | |
| * Defines the property key used by values that provide a scheduled delivery time. | |
| * | |
| * **When to use** | |
| * | |
| * Use to implement the scheduled-delivery protocol on cluster message payloads | |
| * by defining a method at this property key. | |
| * | |
| * @category symbols | |
| * @since 4.0.0 | |
| */ | |
| export declare const symbol = "~effect/cluster/DeliverAt"; | |
| /** | |
| * Interface for payloads that specify when a cluster message should be delivered | |
| * by returning the target delivery `DateTime` through the `DeliverAt` symbol | |
| * method. | |
| * | |
| * @category models | |
| * @since 4.0.0 | |
| */ | |
| export interface DeliverAt { | |
| [symbol](): DateTime; | |
| } | |
| /** | |
| * Returns `true` if the value implements the `DeliverAt` scheduled-delivery | |
| * protocol. | |
| * | |
| * @category guards | |
| * @since 4.0.0 | |
| */ | |
| export declare const isDeliverAt: (self: unknown) => self is DeliverAt; | |
| /** | |
| * Returns the scheduled delivery time in epoch milliseconds when the value | |
| * implements `DeliverAt`, or `null` otherwise. | |
| * | |
| * @category accessors | |
| * @since 4.0.0 | |
| */ | |
| export declare const toMillis: (self: unknown) => number | null; | |
| //# sourceMappingURL=DeliverAt.d.ts.map |