Method ConsumeAllTokens
ConsumeAllTokens()
TeeSinkTokenFilter passes all tokens to the added sinks when itself is consumed. To be sure, that all tokens from the input stream are passed to the sinks, you can call this methods. This instance is exhausted after this, but all sinks are instant available.
Declaration
public void ConsumeAllTokens()