System.Threading.Tasks.TaskCompletionSource.SetResult(SubscriptionResponse)

Here are the examples of the csharp api System.Threading.Tasks.TaskCompletionSource.SetResult(SubscriptionResponse) taken from open source projects. By voting up you can indicate which examples are most useful and appropriate.

1 Examples 7

19 Source : Subscription.cs
with MIT License
from dolittle

void SetConnectionResponse(SubscriptionResponse response)
        {
            lock (_responseLock)
            {
                _connectionResponse.SetResult(response);
            }
        }