Skip to main content

WatchPolicyConfig

@totemsdk/recursive-mast


@totemsdk/recursive-mast / WatchPolicyConfig

Interface: WatchPolicyConfig

Properties​

afterEpoch?​

optional afterEpoch?: number

Only notify for epochs after this value.


onUpdate​

onUpdate: (update) => void

Called when the policy is updated.

Parameters​

update​

PolicyUpdateNotification

Returns​

void


policyId​

policyId: string

The policy to watch.