kotlin

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

ListAllChannelGroupImpl

[js]
class ListAllChannelGroupImpl(pubnub: PubNub) : EndpointImpl<PubNub.ListAllGroupsResponse, PNChannelGroupsListAllResult> , ListAllChannelGroup

Constructors

   
ListAllChannelGroupImpl [js]
constructor(pubnub: PubNub)

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<PNChannelGroupsListAllResult>>)
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>