@nats-io/jetstream
    Preparing search index...

    Type Alias ScheduleOptions

    type ScheduleOptions = {
        source?: string;
        specification: string | Date;
        target: string;
        ttl?: string;
    }
    Index

    Properties

    source?: string

    Instructs the schedule to read the last message on the given subject and publish. If the subject is empty, nothing is published. Wildcards are NOT supported.

    specification: string | Date

    The schedule specification format. Currently only supports: "@at " - e.g., new Date(Date.now() + 60_000).toISOString()

    Note: The ADR-51 specification defines additional formats that may be supported in future server versions.

    target: string

    The subject the message will be delivered to

    ttl?: string

    Sets a message TTL if the stream supports per-message TTL.