Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface SubscriptionProxy

Internal contract to implement abstracted subscription proxy which hides any details of underlying subscription

Hierarchy

  • SubscriptionProxy

Implemented by

Index

Methods

Methods

attach

  • attach(target: any, completeAction: any, errorAction: any): any
  • Subscribes to passed object

    Parameters

    • target: any

      object to subscribe

    • completeAction: any

      action to call on underlying subscription successful completion

    • errorAction: any

      action to call on underlying subscription error

    Returns any

detach

  • detach(subscription: any): void
  • Detaches from underlying subscription

    Parameters

    • subscription: any

    Returns void

Generated using TypeDoc