QueryThreadsListener

Listener for ChatClient.queryChannels requests.

Inheritors

Functions

Link copied to clipboard
abstract suspend fun onQueryThreadsPrecondition(request: QueryThreadsRequest): Result<Unit>

Run precondition for the request. If it returns Result.Success then the request is run otherwise it returns Result.Failure and no request is made.

Link copied to clipboard
abstract suspend fun onQueryThreadsRequest(request: QueryThreadsRequest)

Runs side effect before the request is launched.

Link copied to clipboard
abstract suspend fun onQueryThreadsResult(result: Result<QueryThreadsResult>, request: QueryThreadsRequest)

Runs side effect the request was completed.