Table of Contents

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

left Promise

The first promise to join.

right Promise

Zero or more other promises.

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

left Promise

The first promise to join.

join Promise[]

Zero or more other promises.

Returns

Promise

A promise that resolves when all other promises resolve.

Remarks

Produces an aggregate exception if any errors are encountered.