Options
All
  • Public
  • Public/Protected
  • All
Menu

Class MonitorTask

Hierarchy

Implements

Index

Constructors

constructor

Properties

Protected logger

logger: Logger

Protected taskName

taskName: string = 'MonitorTask'

Methods

audioVideoDidStart

  • audioVideoDidStart(): void

audioVideoDidStartConnecting

  • audioVideoDidStartConnecting(reconnecting: boolean): void

audioVideoDidStop

cancel

  • cancel(): void
  • Attempts to cancel the task. The task may still succeed if it is unable to be canceled. If the task is canceled, then its run function will reject the promise. If cancel is called before run, then run must immediately reject the returned promise. If cancel is called after run, then nothing happens.

    Returns void

connectionHealthDidChange

Protected getStatus

handleSignalingClientEvent

Protected logAndThrow

  • logAndThrow(message: string): void

metricsDidReceive

name

  • name(): string

once

pauseResubscribeCheck

  • pauseResubscribeCheck(): void

removeObserver

  • removeObserver(): void

resumeResubscribeCheck

  • resumeResubscribeCheck(): void

run

  • run(): Promise<void>
  • Runs the unit of work until it either succeeds and fulfills the promise or fails and rejects the promise. Where possible it should listen for the cancellation signal, stop working, and reject the promise. If run is called more than once, it should immediately reject the promise.

    Returns Promise<void>

setParent

  • setParent(parentTask: Task): void

videoTileDidUpdate

Generated using TypeDoc