One Logo Pool Ball
Combine · IOS API REFERENCE

Future.Promise

typealias · iOS 13.0+ · SDK 27.1

typealias Promise = (Result<Output, Failure>) -> Void

A type that represents a closure to invoke in the future, when an element or error is available. The promise closure receives one parameter: a `Result` that contains either a single element published by a ``Future``, or an error.

Members (0)

This type has no directly callable members in this snapshot. See the framework’s skipped declarations for unsupported APIs.

Skipped declarations

No declarations were skipped in this snapshot.

All Combine types →