Open Slixe opened 1 year ago
Hey there,
I'm curious, would it be possible to share the instance between two differents threads ? What I want to achieve is the following:
line, err := instance.Readline()
instance.ReadPasswordWithConfig(conf)
The go routine would have priority on read and the main thread would be on hold for it. How to achieve that ? Thanks in advance.
Hey there,
I'm curious, would it be possible to share the instance between two differents threads ? What I want to achieve is the following:
line, err := instance.Readline()
instance.ReadPasswordWithConfig(conf)
with a custom config.The go routine would have priority on read and the main thread would be on hold for it. How to achieve that ? Thanks in advance.