Optionaldecode?: (data:
unknown,
event:
MessageEvent<unknown>)
=>
TReceive
Decode an inbound native message before delivering it to subscribers.
OptionalmaxRestarts?: number
Maximum automatic restarts. Defaults to 3.
Restart the worker after a native runtime error.
OptionalrestartDelay?: number
Base restart delay. Exponential backoff is capped at 30s.
OptionalmaxRestarts?: never
Optionalrestart?: false
Automatic restart is disabled by default.
OptionalrestartDelay?: never
Native worker options plus AngularTS decoding and restart policy.