Signal

actual interface Signal : PNFuture<PNPublishResult>

See also

PubNub.signal
actual interface Signal : PNFuture<PNPublishResult>

See also

PubNub.signal
actual interface Signal : Endpoint<PNPublishResult>

See also

PubNub.signal
expect interface Signal : PNFuture<PNPublishResult>

See also

PubNub.signal

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

Functions

async
Link copied to clipboard
abstract fun async(callback: Consumer<Result<PNPublishResult>>)
abstract fun async(callback: Consumer<Result<PNPublishResult>>)
abstract override fun async(callback: Consumer<Result<PNPublishResult>>)

Run the action asynchronously, without blocking the calling thread and delivering the result through the callback.

abstract fun async(callback: Consumer<Result<PNPublishResult>>)
Link copied to clipboard
abstract fun operationType(): PNOperationType

Return the type of this operation from the values defined in PNOperationType.

Link copied to clipboard
abstract fun overrideConfiguration(configuration: PNConfiguration): Endpoint<PNPublishResult>
abstract fun overrideConfiguration(action: PNConfigurationOverride.Builder.() -> Unit): Endpoint<PNPublishResult>

Allows to override certain configuration options (see PNConfigurationOverride.Builder) for this request only.

Link copied to clipboard
abstract fun retry()

Attempt to retry the action and deliver the result to a callback registered with a previous call to async.

Link copied to clipboard
abstract fun silentCancel()

Cancel the action without reporting any further results.

Link copied to clipboard
abstract fun sync(): PNPublishResult

Run the action synchronously, potentially blocking the calling thread.