Applesauce
    Preparing search index...

    Interface CountScheduler

    A shared registry of persistent demand with adaptive per-relay admission

    interface CountScheduler {
        scheduler: SchedulerLike;
        status$: Observable<CountSchedulerStatus>;
        count(
            pool: CountRelayPool,
            relays: readonly string[],
            filters: Filter[],
            options: CountScheduleOptions,
        ): Observable<ScheduledCount>;
        retain(relays: readonly string[]): () => void;
        stop(): void;
    }
    Index
    scheduler: SchedulerLike

    The clock shared by participating services

    Emits current capacity, activity, and response measurements

    • Retains a trusted relay set until the returned release function is called

      Parameters

      • relays: readonly string[]

      Returns () => void

      if a URL is invalid