This repository has been 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.Send
method and theIMachineRuntime
send event methods now receive an optionalGuid operationGroupId
, which overrides the defaultOperationGroupId
set by the event constructor. - The
Machine.Raise
method now receives an optionalGuid operationGroupId
, similar to above. - The
IMachineRuntime
methods that receive an optional operation group id, now accept aGuid operationGroupId = default
parameter instead ofGuid? operationGroupId = null
. - The logger interface is updated to receive a
Guid
parameter instead ofGuid?
for logging sends. - The
IMachineRuntime
now exposes aStop
method that terminates the runtime and notifies each active machine to halt execution.