Table of Contents

Class CompletableWithResult

Namespace
OpenServiceBroker
Assembly
OpenServiceBroker.Model.dll
public static class CompletableWithResult
Inheritance
CompletableWithResult
Inherited Members

Methods

Complete<TCompletable, TResult>(TCompletable, TResult?)

Marks an operation as already completed synchronously.

public static TCompletable Complete<TCompletable, TResult>(this TCompletable completable, TResult? result) where TCompletable : ICompletableWithResult<TResult> where TResult : class

Parameters

completable TCompletable

The operation to mark.

result TResult

The result of the operation.

Returns

TCompletable

completable for fluent-style use.

Type Parameters

TCompletable
TResult