Michał Gajek - 177 - Feb 18, 2015

Hi, is it safe to use IServerEvents outside the request/response scope?
My applications is listening on TCP port on background thread, I’d like to broadcast (NotifyAll / NotifyChannel) an information once the TCP thread receives some event. 
Can I pass IServerEvents instance resolved from Funq to the TCP thread safely? 
Thanks

Yeah IServerEvents is a thread-safe singleton, where you’ll always get the same instance back from the IOC.

Michał Gajek:

Great, thx!
__________