Skip to content

Commit c6fa543

Browse files
committed
historystateevent
1 parent 1c407dd commit c6fa543

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

src/Extensions/AzureBlobPayloads/Interceptors/AzureBlobPayloadsInterceptor.cs

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -417,6 +417,14 @@ async Task ResolveEventPayloadsAsync(P.HistoryEvent e, CancellationToken cancell
417417
await this.MaybeResolveAsync(v => ecomp.Output = v, ecomp.Output, cancellation);
418418
}
419419
break;
420+
case P.HistoryEvent.EventTypeOneofCase.HistoryState:
421+
if (e.HistoryState is { } hs && hs.OrchestrationState is { } os)
422+
{
423+
await this.MaybeResolveAsync(v => os.Input = v, os.Input, cancellation);
424+
await this.MaybeResolveAsync(v => os.Output = v, os.Output, cancellation);
425+
await this.MaybeResolveAsync(v => os.CustomStatus = v, os.CustomStatus, cancellation);
426+
}
427+
break;
420428
}
421429
}
422430

0 commit comments

Comments
 (0)