perform<T> static method
Implementation
static Future<T> perform<T>(
FutureOr<T> Function(DspReg disposers) action,
) async {
final disposers = DspImpl();
try {
return await action(disposers);
} finally {
await disposers.dispose();
}
}