Skip to content

Instantly share code, notes, and snippets.

@neuecc
Created June 21, 2022 11:35
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/a493915d2d6f26a97b80430648aa9926 to your computer and use it in GitHub Desktop.
Save neuecc/a493915d2d6f26a97b80430648aa9926 to your computer and use it in GitHub Desktop.
class AsyncPublishCommand<T> :
ICommand,
IValueTaskSource,
IThreadPoolWorkItem,
IObjectPoolNode<AsyncPublishCommand<T>>
internal interface ICommand
{
void Write(ProtocolWriter writer);
}
internal interface IObjectPoolNode<T>
{
ref T? NextNode { get; }
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment