registerSessionReplayShutdown static method

void registerSessionReplayShutdown(
  1. Future<void> cleanup()?
)

Registers cleanup before Replay starts asynchronous initialization. Passing null removes the registration.

Implementation

static void registerSessionReplayShutdown(Future<void> Function()? cleanup) {
  _sessionReplayShutdown = cleanup;
}