[WIP] draft resume method

In this PR:

- [x] add missing docblocks and @inheritdoc and improving comments
- [x] add missing typehints on addArc() method
- [x] add resume method to ticking process workflow
- [ ] write scenarios/tests for usage of resume()

So currently the only current way the process gets stuck is just because we have not called finalize() on the cleanup method call. This call moves tokents to outputs. That is the only reason why the execution does not continue. So it is not based on a condition or state.

The proposal will then create statuses tied to tokens so that it can track its status at all times and if it depends on token information then it is all encapsulated already.