Issue #53 resolved

Implement server.onStartServerList, onStartThreadList, onStopServerList, onStopThreadList

Anonymous created an issue

Reported by rdelon

Comments (3)

  1. Anonymous

    For documentation purposes:

    You can do cpg.server.onStartThreadList = [func1, func2, ...]

    where each function will be called, without any parameters. This is the way to go for thread initialisation, possibly for opening db connections etc.

  2. Anonymous

    again, for documentation purposes:

    These functions will be called on control-breaking / control-c on the application, as well as using cpg.server.stop

  3. Log in to comment