Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface TimeoutSubscriber<T>

Base interface representing a timeout subscriber.

Type parameters

  • T

Hierarchy

  • TimeoutSubscriber

Index

Properties

Properties

late

late: (handler: (arg: T) => any) => TimeoutSubscriber<T>

Handler will execute if the promise resolves after the timeout occurs.

param

Type declaration

onTime

onTime: (handler: (arg: T) => any) => TimeoutSubscriber<T>

Handler will execute if the promise resolves before the timeout occurs.

param

Type declaration

run

run: () => Promise<T>

Start the timer.

Type declaration

    • (): Promise<T>
    • Returns Promise<T>

timeout

timeout: (handler: () => any) => TimeoutSubscriber<T>

Handler will execute if the promise has not resolved when the timeout occurs.

param

Type declaration

Extollo Logo

extollo (v. latin) - to lift up, to elevate

Extollo is a free & libre application framework in TypeScript.