Hi, I want to add a Stop Method for Lex.
When other goroutines create a Lex instance but didnot input until EOF happens. the goroutine inside lex will hang there forever.
In this case, we can add a stop-channel so that other goroutines can stop it manually.
Hi, I want to add a Stop Method for Lex. When other goroutines create a Lex instance but didnot input until EOF happens. the goroutine inside lex will hang there forever. In this case, we can add a stop-channel so that other goroutines can stop it manually.