src/LaunchDarkly.EventSource/EventSourceService.cs
/// <summary>
/// Initiates the request to the EventSource API and parses Server Sent Events received by the API.
/// </summary>
/// <returns>A <see cref="System.Threading.Tasks.Task"/> A task that represents the work queued to execute in the ThreadPool.</returns>
Initiates the request to the EventSource API and parses Server Sent Events received by the API.
Initiates the request to the EventSource API and parses Server Sent Events received by the API .
public async Task GetDataAsync(Action<string> processResponse, CancellationToken cancellationToken)
        {
            cancellationToken.ThrowIfCancellationRequested();
            await ConnectToEventSourceApi(processResponse, cancellationToken);
        }
public async Task GetDataAsync ( Action < string > processResponse , CancellationToken cancellationToken ) { cancellationToken . ThrowIfCancellationRequested ( ) ; await ConnectToEventSourceApi ( processResponse , cancellationToken ) ; }
Initiates the request to the EventSource API and parses Server Sent Events received by the API.
Initiates the request to the EventSource API and parses Server Sent Events received by the API .
A  A task that represents the work queued to execute in the ThreadPool.
A A task that represents the work queued to execute in the ThreadPool .
processResponse
Action<string>
cancellationToken
CancellationToken