jsMain.dev.gitlive.firebase.database.externals.callbacks.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of firebase-database-js Show documentation
Show all versions of firebase-database-js Show documentation
The Firebase Kotlin SDK is a Kotlin-first SDK for Firebase. It's API is similar to the Firebase Android SDK Kotlin Extensions but also supports multiplatform projects, enabling you to use Firebase directly from your common source targeting iOS, Android or JS.
/*
* Copyright (c) 2020 GitLive Ltd. Use of this source code is governed by the Apache 2.0 license.
*/
package dev.gitlive.firebase.database.externals
typealias ChangeSnapshotCallback = (data: DataSnapshot, previousChildName: String?) -> Unit
typealias ValueSnapshotCallback = (data: DataSnapshot) -> Unit
typealias CancelCallback = (error: Throwable) -> Unit
© 2015 - 2024 Weber Informatics LLC | Privacy Policy