completeNextSend method

void completeNextSend(
  1. SendResult result
)

Scripts the outcome of the next FakeChataptorClient.sendMessage call. Each call consumes one scripted result, FIFO order.

Implementation

void completeNextSend(SendResult result) =>
    _client._scriptedSends.add(result);