Skip to content

Instantly share code, notes, and snippets.

@neuecc
Created August 2, 2022 07:08
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 neuecc/4a759678bf0b2c5083f6585f2988d15e to your computer and use it in GitHub Desktop.
Save neuecc/4a759678bf0b2c5083f6585f2988d15e to your computer and use it in GitHub Desktop.
class Client
{
public async Task SendAsync(CancellationToken cancellationToken = default)
{
await SendCoreAsync(cancellationToken);
}
async Task SendCoreAsync(CancellationToken cancellationToken)
{
// do anything...
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment