KetraTerm
API · v0.2.2All versions

closeAndFlush

suspend fun closeAndFlush()

Stops accepting events and awaits the final dirty write when persistence is enabled.

Calling this method more than once is safe. An unrecovered final write failure is rethrown after the worker stops.