Method TryComplete
TryComplete()
Invoked to signal end of the subscription.
protected abstract void TryComplete()
Remarks
Do not implement complex logic in this method. It should only be used to complete the channel writers. The reason is that this method might be invoked while instance is being created in constructors and the cancellation token might be cancelled before the members are fully initialized.