AccountExecutionHold
class AccountExecutionHold(val scope: UserSessionScope, endHold: () -> Unit, releaseUnlessAllowed: suspend () -> Unit)
Keeps scope's account open in the background for work that has execution time of its own, such as a call or a background task. Release it before that time ends.
Constructors
Link copied to clipboard
internal constructor(scope: UserSessionScope, endHold: () -> Unit, releaseUnlessAllowed: suspend () -> Unit)