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
TCompletableThe operation to mark.
result
TResultThe result of the operation.
Returns
- TCompletable
completable
for fluent-style use.
Type Parameters
TCompletable
TResult