lock

abstract fun lock()

Lock this diagnostics receiver from further modification; if not called by first read, will be called by first operation.

This method is idempotent.