disposeSharedDataInfo<P, R> method
Disposes SharedData sent to other threads/isolates
.
sharedDataInfo
the AsyncExecutorSharedDataInfo with sent SharedData signatures. Note thatAsyncExecutorSharedDataInfo.disposeSharedDataInfo
will be populated.
Implementation
FutureOr<bool> disposeSharedDataInfo<P, R>(
AsyncExecutorSharedDataInfo sharedDataInfo,
{bool async = false}) =>
_executorThread.disposeSharedDataInfo(sharedDataInfo, async: async);