OnDemandThreadingStrategy

A ThreadingStrategy that creates "threads" when acquired and immediately shuts down when released.

Functions

Link copied to clipboard
open override fun acquire(): Threading
Link copied to clipboard
open override fun release(threading: Threading)
Link copied to clipboard

Creates Threading that can be used for Bluetooth communication. The returned Threading is returned in a started state and must be shutdown when no longer needed.