edgeport - v1.0.3
    Preparing search index...

    Interface SipScheduler

    A scheduler for the registration-refresh + keep-alive timers, matching the global timer API.

    Injected through the internal entry point so tests can drive timers with a fake clock.

    1.0.3

    interface SipScheduler {
        clear(handle: unknown): void;
        set(fn: () => void, ms: number): unknown;
    }
    Index
    • Cancels a timer created by set.

      Parameters

      • handle: unknown

      Returns void

    • Schedules fn after ms; returns a handle for clear.

      Parameters

      • fn: () => void
      • ms: number

      Returns unknown