SingleThreadProtocolWorker

A simple single-threaded info worker, executing all the callables in order on the calling thread.

Constructors

Link copied to clipboard
constructor()

Functions

Link copied to clipboard
open override fun execute(callables: List<Callable<Unit>>)

Executes the callables collection as defined by the given worker's behavior. The callables may be executed asynchronously and are guaranteed to be thread-safe. It should be noted that all the callables must be called upon, or the protocol breaks.