Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
ITypedToResult
updated to correctly implementIToResult
as the simpleToResult
where required.Result.AsTask()
andResult<T>.AsTask
to simplify the conversion to a completedTask<Result>
orTask<Result<T>>
where applicable.IResult.IsFailureOfType<TException>
to indicate whether the result is in a failure state and the underlying error is of the specifiedTException
type.EventTemplate
property to theWebApiPublisherArgs
andWebApiPublisherCollectionArgs
to define anEventData
template.SubscriberBase<T>
constructor overload to enable specification ofvalueValidator
andValueIsRequired
parameters versus setting properties directly simplifying usage.ErrorHandling.None
is nowErrorHandling.HandleByHost
andErrorHandling.Handle
is nowErrorHandling.HandleBySubscriber
.ServiceBusSubscriber.Receive
methods by removing theafterReceive
parameter which served no real purpose; also, reversed thevalidator
andvalueIsRequired
parameters (order as stated) as thevalidator
is more likely to be specified thanvalueIsRequired
which defaults totrue
.CoreEx.Hosting.Work
namespace which includes light-weight/simple foundational capabilities to track and orchestrate work; intended for the likes of asynchronous request-response scenarios.IWorkStatePersistence
to enable flexible/pluggable persistence of theWorkState
and resulting data; includesInMemoryWorkStatePersistence
for testing,FileWorkStatePersistence
for file-based, andTableWorkStatePersistence
leveraging Azure table storage.WorkStateOrchestrator
support toEventSubscriberBase
, including correspondingServiceBusSubscriber
andServiceBusOrchestratedSubscriber
using theServiceBusMessage.MessageId
as the correspondingWorkState.Id
.EventSubscriberArgs
to support a newSetWorkStateDataAsync
operation to enable the setting of the underlyingWorkState
data is a consistent manner where using the event subscriber capabilities.