RevokeToken

actual interface RevokeToken : <ERROR CLASS> ERROR CLASS: Symbol not found for PNFuture<kotlin/Unit>
expect interface RevokeToken : PNFuture<Unit>
actual interface RevokeToken : PNFuture<Unit>

Inheritors

actual interface RevokeToken : Endpoint<Unit>

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
expect abstract fun async(callback: Consumer<Result<Unit>>)
abstract fun async(callback: Consumer<Result<Unit>>)
abstract override fun async(callback: Consumer<Result<Unit>>)
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
Link copied to clipboard
abstract fun retry()
Link copied to clipboard
abstract fun silentCancel()
Link copied to clipboard
abstract fun sync()
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>