get

Get the value/error from an EventLoopFuture in an async context.

AsyncAwaitSupport.swift:25
iOS
13+
macOS
10.15+
tvOS
13+
watchOS
6+
@preconcurrency func get() async throws -> Value where Value : Sendable

This function can be used to bridge an EventLoopFuture into the async world. Ie. if you’re in an async function and want to get the result of this future.