onQueryChannelsPrecondition

abstract suspend fun onQueryChannelsPrecondition(request: QueryChannelsRequest): 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.

Return

Result.Success if precondition passes otherwise Result.Failure

Parameters

request

QueryChannelRequest which is going to be used for the request.