Publish

actual interface Publish : <ERROR CLASS> ERROR CLASS: Symbol not found for PNFuture<ERROR CLASS: Symbol not found for PNPublishResult>

See also

PubNub.publish

Inheritors

expect interface Publish : PNFuture<PNPublishResult>

See also

PubNub.publish
actual interface Publish : Endpoint<PNPublishResult>

See also

PubNub.publish

Properties

Link copied to clipboard
abstract val channel: String
Link copied to clipboard
abstract val customMessageType: String?
Link copied to clipboard
abstract val message: Any
Link copied to clipboard
abstract val meta: Any?
Link copied to clipboard
abstract val replicate: Boolean
Link copied to clipboard
abstract val shouldStore: Boolean?
Link copied to clipboard
abstract val ttl: Int?
Link copied to clipboard
abstract val usePost: Boolean

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<PNPublishResult>>)
abstract fun async(callback: Consumer<Result<PNPublishResult>>)
abstract override fun async(callback: Consumer<Result<PNPublishResult>>)
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(): PNPublishResult
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>