()
| 17 | set(data: T) { return query.ref.set(data) as Promise<void>; }, |
| 18 | remove() { return query.ref.remove() as Promise<void>; }, |
| 19 | valueChanges<T>() { |
| 20 | const snapshotChanges$ = createObjectSnapshotChanges(query, afDatabase.schedulers.outsideAngular)(); |
| 21 | return snapshotChanges$.pipe( |
| 22 | pendingUntilEvent(injector), |
| 23 | map(action => action.payload.exists() ? action.payload.val() as T : null) |
| 24 | ); |
| 25 | }, |
| 26 | }; |
| 27 | } |
nothing calls this directly
no test coverage detected