Address extra FutureOr
from _isolates_io.dart. (#49043)
This commit is contained in:
parent
8fe35ae6b0
commit
f9908f5436
@ -81,7 +81,10 @@ Future<void> _spawn<Q, R>(_IsolateConfiguration<Q, FutureOr<R>> configuration) a
|
|||||||
R result;
|
R result;
|
||||||
await Timeline.timeSync(
|
await Timeline.timeSync(
|
||||||
configuration.debugLabel,
|
configuration.debugLabel,
|
||||||
() async { result = await configuration.apply(); },
|
() async {
|
||||||
|
final FutureOr<R> applicationResult = await configuration.apply();
|
||||||
|
result = await applicationResult;
|
||||||
|
},
|
||||||
flow: Flow.step(configuration.flowId),
|
flow: Flow.step(configuration.flowId),
|
||||||
);
|
);
|
||||||
Timeline.timeSync(
|
Timeline.timeSync(
|
||||||
|
Loading…
x
Reference in New Issue
Block a user