Class PromiseJoin
- Namespace
- MarymoorStudios.Core.Promises
- Assembly
- MarymoorStudios.Core.Promises.dll
public static class PromiseJoin
- Inheritance
-
PromiseJoin
- Inherited Members
Methods
Join(Promise, Promise)
Joins two promises into a single outcome.
public static Promise Join(this Promise left, Promise right)
Parameters
Returns
- Promise
A promise that resolves when all other promises resolve.
Remarks
Produces an aggregate exception if any errors are encountered.
Join(Promise, params Promise[])
Joins two or more promises into a single outcome.
public static Promise Join(this Promise left, params Promise[] join)
Parameters
Returns
- Promise
A promise that resolves when all other promises resolve.
Remarks
Produces an aggregate exception if any errors are encountered.