public ConfiguredMainThreadAwaitable(JoinableTaskFactory.MainThreadAwaitable mainThreadAwaitable, bool alwaysYield) { _mainThreadAwaitable = mainThreadAwaitable; _alwaysYield = alwaysYield; }
internal ControlMainThreadAwaitable(JoinableTaskFactory.MainThreadAwaitable awaitable, IDisposable disposable, CancellationToken cancellationToken) { _awaitable = awaitable; _disposable = disposable; _cancellationToken = cancellationToken; }
internal ControlMainThreadAwaitable(JoinableTaskFactory.MainThreadAwaitable awaitable, IDisposable?disposable) { _awaitable = awaitable; _disposable = disposable; }
public MainThreadAwaitable(JoinableTaskFactory.MainThreadAwaitable awaitable) { this.awaitable = awaitable; }