Options
All
  • Public
  • Public/Protected
  • All
Menu

Class HttpAvailabilityLatch

A utility class to wait for a server to be available.

Hierarchy

  • HttpAvailabilityLatch

Index

Constructors

constructor

Methods

countTime

  • countTime(hrstart: [number, number]): number

isEndpointAvailable

  • isEndpointAvailable(url: string): Promise<boolean>

sleep

  • sleep(durationMs: number): Promise<void>

sleepUntilAvailable

  • sleepUntilAvailable(context: ITaskContext, url: string): Promise<void>

Generated using TypeDoc