FlowR.Core/ApplicationResponses.cs
/// <summary>
///     [internal use] Process response from client
/// </summary>
/// <param name="message"></param>
[internal use] Process response from client
[ internal use ] Process response from client
public void SetResponse(IMessageResponse message)
        {
            if (!_pending.TryGetValue(message.GetUuid(), out var storedMessage))
            {
                return;
            }
            storedMessage.SetResponse(message.GetResponse());
            _pending.TryRemove(message.GetUuid(), out _);
            _completed.TryAdd(message.GetUuid(), storedMessage.GetResponse());
        }
public void SetResponse ( IMessageResponse message ) { if ( ! _pending . TryGetValue ( message . GetUuid ( ) , out var storedMessage ) ) { return ; } storedMessage . SetResponse ( message . GetResponse ( ) ) ; _pending . TryRemove ( message . GetUuid ( ) , out _ ) ; _completed . TryAdd ( message . GetUuid ( ) , storedMessage . GetResponse ( ) ) ; }
[internal use] Process response from client
[ internal use ] Process response from client
message
IMessageResponse
None