kotlin

//pubnub-kotlin-api/com.pubnub.api.endpoints.channel_groups/[js]AddChannelChannelGroupImpl

AddChannelChannelGroupImpl

[js]
class AddChannelChannelGroupImpl(pubnub: PubNub, params: PubNub.AddChannelParameters) : EndpointImpl<Any, PNChannelGroupsAddChannelResult> , AddChannelChannelGroup

Constructors

   
AddChannelChannelGroupImpl [js]
constructor(pubnub: PubNub, params: PubNub.AddChannelParameters)

Functions

Name Summary
alsoAsync [common]
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.
async [js]
abstract fun async(callback: Consumer<Result<PNChannelGroupsAddChannelResult>>)
catch [common]
fun <T> PNFuture<T>.catch(action: (Exception) -> Result<T>): PNFuture<T>
remember [common]
fun <T> PNFuture<T>.remember(): PNFuture<T>
then [common]
fun <T, U> PNFuture<T>.then(action: (T) -> U): PNFuture<U>
thenAsync [common]
fun <T, U> PNFuture<T>.thenAsync(action: (T) -> PNFuture<U>): PNFuture<U>