Options
All
  • Public
  • Public/Protected
  • All
Menu

Class LeaveAndReceiveLeaveAckTask

LeaveAndReceiveLeaveAckTask sends a Leave frame and waits for a LeaveAck.

Hierarchy

Index

Constructors

constructor

Properties

Protected logger

logger: Logger

Protected taskName

taskName: string = 'LeaveAndReceiveLeaveAckTask'

Methods

cancel

  • cancel(): void

Protected getStatus

Protected logAndThrow

  • logAndThrow(message: string): void

name

  • name(): string

once

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

Generated using TypeDoc