PromiseBuilder
public class PromiseBuilder<T>
PromiseBuilder
Builds a promise and its trigger pair. Used by server.
-
Builds promise tuple
Declaration
Swift
public static func build() -> (itself: Promise<T>, trigger: PromiseTrigger<T>)
Return Value
Promise/Trigger tuple