close

open override fun close()

Closes this Bloc: cancels the scope, cancels all active jobs, and marks it closed. After calling close, send and emit become no-ops.