Skip to content

@maxhealth.tech/prefab / actions / Unsubscribe

Class: Unsubscribe

Defined in: actions/subscribe.ts:72

Unsubscribe from a previously subscribed resource URI.

Typically used in cleanup or when navigating away from a view. The renderer also automatically unsubscribes on destroy.

Implements

Constructors

Constructor

ts
new Unsubscribe(uri): Unsubscribe;

Defined in: actions/subscribe.ts:73

Parameters

ParameterType
uristring

Returns

Unsubscribe

Properties

uri

ts
readonly uri: string;

Defined in: actions/subscribe.ts:73

Methods

toJSON()

ts
toJSON(): ActionJSON;

Defined in: actions/subscribe.ts:75

Returns

ActionJSON

Implementation of

Action.toJSON

Released under the MIT License.