Extension (Class)swift-nio 2.74.0all tags
DispatchQueue (ext)
You’re viewing third-party extensions to DispatchQueue
, a class from the Swift standard library.
You can also read the documentation forDispatchQueue
itself.
extension DispatchQueue
Extension in NIOCore
Instance members
func asyncWithFuture<NewValue>(eventLoop: EventLoop, @escaping () throws -> NewValue
) -> EventLoopFuture<NewValue> Schedules a work item for immediate execution and immediately returns with an
EventLoopFuture
providing the result. For example: