Home Reference Source Repository
import Subscription from 'rxstream/src/classes/subscription.js'
public class | source

Subscription

this class is experimental.

Subscription is returned when you subscribe on stream.

Constructor Summary

Public Constructor
public

constructor(parentSubject: *, callback: *)

Method Summary

Public Methods
public

Unsubscribe from the stream

Public Constructors

public constructor(parentSubject: *, callback: *) source

Params:

NameTypeAttributeDescription
parentSubject *
callback *

Public Methods

public unsubscribe() source

Unsubscribe from the stream