Options
All
  • Public
  • Public/Protected
  • All
Menu

Class PushBasedSubscriptionProxy

Implementation of SubscriptionProxy to work with any objects with subscribe/unsubscribe contracts. This contract is suitable for Observable, for example.

Hierarchy

  • PushBasedSubscriptionProxy

Implements

Index

Methods

attach

  • attach(target: any, completeAction: any, errorAction?: function): any
  • inheritdoc

    Parameters

    • target: any
    • completeAction: any
    • Optional errorAction: function
        • (error: any): any
        • Parameters

          • error: any

          Returns any

    Returns any

detach

  • detach(subscription: any): void

Static isAcceptable

  • isAcceptable(target: any): boolean
  • Returns true if this proxy type can subscribe to passed object. false otherwise.

    Parameters

    • target: any

    Returns boolean

Generated using TypeDoc