CoroutineDispatcher

public struct CoroutineDispatcher

Undocumented

  • Undocumented

    Declaration

    Swift

    public static let `default`: CoroutineDispatcher
  • Undocumented

    Declaration

    Swift

    public static func newShared(coroutinePoolSize poolSize: Int, stackSize: Coroutine.StackSize = .recommended) -> CoroutineDispatcher
  • Undocumented

    Declaration

    Swift

    @inlinable
    public func execute(on scheduler: TaskScheduler, task: @escaping () -> Void)