This repository was archived by the owner on Aug 26, 2022. It is now read-only.
P# 1.6.1
This release contains the 1.6.1 version of the P# framework.
This is a minor release that exposes some new APIs and updates the way that an operation group id can be optionally passed to Create and Send related methods:
- The
Machine.Sendmethod and theIMachineRuntimesend event methods now receive an optionalGuid operationGroupId, which overrides the defaultOperationGroupIdset by the event constructor. - The
Machine.Raisemethod now receives an optionalGuid operationGroupId, similar to above. - The
IMachineRuntimemethods that receive an optional operation group id, now accept aGuid operationGroupId = defaultparameter instead ofGuid? operationGroupId = null. - The logger interface is updated to receive a
Guidparameter instead ofGuid?for logging sends. - The
IMachineRuntimenow exposes aStopmethod that terminates the runtime and notifies each active machine to halt execution.