How to efficiently do many tasks a “little later” in Python?

后端 未结 10 1071
心在旅途
心在旅途 2021-01-30 11:59

I have a process, that needs to perform a bunch of actions \"later\" (after 10-60 seconds usually). The problem is that those \"later\" actions can be a lot (1000s), so using a

10条回答
  •  半阙折子戏
    2021-01-30 12:26

    Pyzmq has an ioloop implementation with a similar api to that of the tornado ioloop. It implements a DelayedCallback which may help you.

提交回复
热议问题