ocean.util.aio.DelegateJobNotification

DelegateJobNotification. Used for notifying jobs from the AsyncIO. Allows the job to specify how it will be suspended and resumed via delegates.

resume_job delegate is always requried, unlike suspend_job delegate: in the case where the job needs to suspend itself at the convenient location, no suspend_job delegate should be passed. One usage of this behaviour would be to allow resuming the job from the several external systems (e.g. from the disk IO and from the network), allowing the job to suspend itself at the convenient point where it's possible to distinguish if the job is resumed from the network or from the AsyncIO.

Members

Classes

DelegateJobNotification
class DelegateJobNotification

ditto

Meta

License

Boost Software License Version 1.0. See LICENSE.txt for details.