Options
All
  • Public
  • Public/Protected
  • All
Menu

IBoolCancelable represents a ICancelable that can be queried for the canceled status.

Hierarchy

Implemented by

Index

Methods

Methods

cancel

  • cancel(): void

isCanceled

  • isCanceled(): boolean
  • Return true in case this cancelable hasn't been canceled, or false otherwise.

    const ref = BoolCancelable.of()
    
    ref.isCanceled() // false
    ref.cancel()
    ref.isCanceled() // true
    

    Returns boolean

Legend

  • Module
  • Object literal
  • Variable
  • Function
  • Function with type parameter
  • Index signature
  • Type alias
  • Enumeration
  • Enumeration member
  • Property
  • Method
  • Interface
  • Interface with type parameter
  • Constructor
  • Property
  • Method
  • Index signature
  • Class
  • Class with type parameter
  • Constructor
  • Property
  • Method
  • Accessor
  • Index signature
  • Inherited constructor
  • Inherited property
  • Inherited method
  • Inherited accessor
  • Protected property
  • Protected method
  • Protected accessor
  • Private property
  • Private method
  • Private accessor
  • Static property
  • Static method

Generated using TypeDoc