shutdown
Gracefully shut down the SDK.
Flushes a final audit record and telemetry event before cancelling the SDK's coroutine scope, so the teardown entry actually reaches the audit trail. After cancellation, the SDK instance is no longer usable; call init to create a new instance.
Threading: Main-safe. Final record/emit run under NonCancellable on the SDK's IO scope; this suspends until those writes complete, then cancels the scope.
Since
0.8.0