• Creates an observable on a document

    Type Parameters

    Parameters

    • repository: Repository<T_model>

      Repository that created the listener

    • documentRef: DocumentReference<DocumentData, DocumentData>

      Reference to the document to listen to

    • options: SnapshotListenOptions

      Listening options

    Returns DocumentObservable<T_model>

    A document observable