Method
setDeps
(deps: {
collection: CollectionImpl<TOutput, TKey, any, TSchema, TInput>
state: CollectionStateManager<TOutput, TKey, TSchema, TInput>
lifecycle: CollectionLifecycleManager<TOutput, TKey, TSchema, TInput>
events: CollectionEventsManager
})
Source from the content-addressed store, hash-verified
| 60 | } |
| 61 | |
| 62 | setDeps(deps: { |
| 63 | collection: CollectionImpl<TOutput, TKey, any, TSchema, TInput> |
| 64 | state: CollectionStateManager<TOutput, TKey, TSchema, TInput> |
| 65 | lifecycle: CollectionLifecycleManager<TOutput, TKey, TSchema, TInput> |
| 66 | events: CollectionEventsManager |
| 67 | }) { |
| 68 | this.collection = deps.collection |
| 69 | this.state = deps.state |
| 70 | this.lifecycle = deps.lifecycle |
| 71 | this._events = deps.events |
| 72 | } |
| 73 | |
| 74 | /** |
| 75 | * Start the sync process for this collection |
Tested by
no test coverage detected