History

See also

PubNub.history

Properties

Link copied to clipboard
abstract val channel: String
Link copied to clipboard
abstract val count: Int
Link copied to clipboard
abstract val end: Long?
Link copied to clipboard
abstract val includeMeta: Boolean
Link copied to clipboard
Link copied to clipboard
abstract val reverse: Boolean
Link copied to clipboard
abstract val start: Long?

Functions

Link copied to clipboard
fun <T> PNFuture<T>.alsoAsync(action: (T) -> PNFuture<*>): PNFuture<T>

Execute a second PNFuture after this PNFuture completes successfully, and return the original value of this PNFuture after the second PNFuture completes successfully.

Link copied to clipboard
abstract override fun async(callback: Consumer<Result<PNHistoryResult>>)
Link copied to clipboard
fun <T> PNFuture<T>.catch(action: (Exception) -> Result<T>): PNFuture<T>
Link copied to clipboard
fun <T, U> ExtendedRemoteAction<T>.map(function: (T) -> U): ExtendedRemoteAction<U>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
abstract fun retry()
Link copied to clipboard
abstract fun silentCancel()
Link copied to clipboard
abstract fun sync(): PNHistoryResult
Link copied to clipboard
fun <T, U> PNFuture<T>.then(action: (T) -> U): PNFuture<U>
Link copied to clipboard
fun <T, U> PNFuture<T>.thenAsync(action: (T) -> PNFuture<U>): PNFuture<U>