Type Definitions
The following type definitions are available globally.
-
A block type used to handle snapshot updates.
Declaration
Swift
typealias FIRDocumentSnapshotBlock = (FIRDocumentSnapshot?, Error?) -> Void
-
A block type used to handle failable snapshot method callbacks.
Declaration
Swift
typealias FIRQuerySnapshotBlock = (FIRQuerySnapshot?, Error?) -> Void