Skip to content

Instantly share code, notes, and snippets.

@ByteDev
Last active September 22, 2021 07:55
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ByteDev/95342b9ae531a86056cb3ec45db17b5d to your computer and use it in GitHub Desktop.
Save ByteDev/95342b9ae531a86056cb3ec45db17b5d to your computer and use it in GitHub Desktop.
public async Task<SearchCustomerResponse> SearchAsync(SearchCustomerRequest request, CancellationToken cancellationToken = default)
{
    // make the call to the API and handle the response
    // making sure to pass in the cancellationToken to any async method
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment