Blocking

abstract class Blocking(executor: Executor) : Server.Plugin

Server.Plugin.Blocking is a blocking Server.Plugin intended for use in Java code.

Parameters

executor

the Executor to use as a kotlinx.coroutines.CoroutineDispatcher to run the blocking operations

Constructors

Link copied to clipboard
constructor(executor: Executor)

Functions

Link copied to clipboard
suspend override fun intercept(session: Bolt.Session, message: Bolt.Message): Bolt.Message
Link copied to clipboard
Link copied to clipboard
suspend override fun observe(event: Server.Event)
Link copied to clipboard
Link copied to clipboard
open infix fun then(that: Server.Plugin): Server.Plugin

Run this Server.Plugin then that.