Class: SyncStrategy
Hierarchy​
↳
SyncStrategy
Constructors​
constructor​
• new SyncStrategy(options
)
Parameters​
Name | Type |
---|---|
options | SyncStrategyOptions |
Overrides​
ConnectionStrategy.constructor
Defined in​
strategies/sync-strategy.ts:44
Accessors​
blocking​
• get
blocking(): boolean
| (...args
: any
[]) => boolean
Returns​
boolean
| (...args
: any
[]) => boolean
Inherited from​
ConnectionStrategy.blocking
Defined in​
strategies/connection-strategy.ts:115
coordinator​
• get
coordinator(): undefined
| Coordinator
Returns​
undefined
| Coordinator
Inherited from​
ConnectionStrategy.coordinator
Defined in​
logLevel​
• get
logLevel(): undefined
| LogLevel
Returns​
undefined
| LogLevel
Inherited from​
ConnectionStrategy.logLevel
Defined in​
logPrefix​
• get
logPrefix(): string
Returns​
string
Inherited from​
ConnectionStrategy.logPrefix
Defined in​
name​
• get
name(): string
Returns​
string
Inherited from​
ConnectionStrategy.name
Defined in​
source​
• get
source(): Source
<RequestOptions
, RequestOptions
, unknown
, unknown
>
Returns​
Source
<RequestOptions
, RequestOptions
, unknown
, unknown
>
Inherited from​
ConnectionStrategy.source
Defined in​
strategies/connection-strategy.ts:107
sources​
• get
sources(): Source
<RequestOptions
, RequestOptions
, unknown
, unknown
>[]
Returns​
Source
<RequestOptions
, RequestOptions
, unknown
, unknown
>[]
Inherited from​
ConnectionStrategy.sources
Defined in​
target​
• get
target(): Source
<RequestOptions
, RequestOptions
, unknown
, unknown
>
Returns​
Source
<RequestOptions
, RequestOptions
, unknown
, unknown
>
Inherited from​
ConnectionStrategy.target
Defined in​
strategies/connection-strategy.ts:111
Methods​
activate​
â–¸ activate(coordinator
, options?
): Promise
<void
>
Parameters​
Name | Type |
---|---|
coordinator | Coordinator |
options | ActivationOptions |
Returns​
Promise
<void
>
Inherited from​
Defined in​
strategies/connection-strategy.ts:119
afterSourceActivation​
â–¸ afterSourceActivation(): Promise
<void
>
Returns​
Promise
<void
>
Inherited from​
ConnectionStrategy.afterSourceActivation
Defined in​
afterSourceDeactivation​
â–¸ afterSourceDeactivation(): Promise
<void
>
Returns​
Promise
<void
>
Inherited from​
ConnectionStrategy.afterSourceDeactivation
Defined in​
beforeSourceActivation​
â–¸ beforeSourceActivation(): Promise
<void
>
Returns​
Promise
<void
>
Inherited from​
ConnectionStrategy.beforeSourceActivation
Defined in​
beforeSourceDeactivation​
â–¸ beforeSourceDeactivation(): Promise
<void
>
Returns​
Promise
<void
>
Inherited from​
ConnectionStrategy.beforeSourceDeactivation
Defined in​
deactivate​
â–¸ deactivate(): Promise
<void
>
Returns​
Promise
<void
>