A cleanup callback registered with a Scope.
typedef ScopeFinalizer = FutureOr<void> Function(Exit<Object, Object> exit);