kerryjiang / SuperSocket

SuperSocket is a light weight, cross platform and extensible socket server application framework.
Apache License 2.0
3.91k stars 1.15k forks source link

SuperSocket UsePackageHandler with BackgroundService #635

Closed alberk8 closed 1 year ago

alberk8 commented 1 year ago

Hi,

I am trying to figure out how to I integrate the SuperSocketHostBuilder with a BackgroundService Queue

What I want to achieve is to Receive TCP messages and pushed it to a background queue. The queue is non blocking and will execute in the background. Is that possible? If so, is there any example. Thank you.

kerryjiang commented 1 year ago

Yes, you can. You just need to register your background hosted service.