Skip to content

@maxhealth.tech/prefab / actions / Unsubscribe

Class: Unsubscribe ​

Defined in: actions/subscribe.ts:75

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:76

Parameters ​

ParameterType
uristring

Returns ​

Unsubscribe

Properties ​

uri ​

ts
readonly uri: string;

Defined in: actions/subscribe.ts:76

Methods ​

toJSON() ​

ts
toJSON(): ActionJSON;

Defined in: actions/subscribe.ts:78

Returns ​

ActionJSON

Implementation of ​

Action.toJSON

Released under the MIT License.