Is it possible some way to get a flow (possibly SharedFlow) of all the updates to the
subject
in a ktor
Pipeline
? 🤔 Seems like it will be a good way to monitor a pipeline run
a
Aleksei Tirman [JB]
05/08/2024, 9:04 AM
Do you mean to get all updates on the subject made by each interceptor?
👍 1
e
efemoney
05/08/2024, 9:08 AM
Yes, exactly. Sorry, no not really. Just updates to the subject field will be fine
efemoney
05/08/2024, 9:09 AM
As if the
var subject
of PipelineContext was
Delegates.observable
efemoney
05/08/2024, 9:11 AM
My use case is i want to create a custom pipeline, but in my case, while
subject
instance is sealed immutable heirarchy, every interceptor can proceed with a new value, so I want to get a history of the changes to the subject as the pipeline proceeds or executes
a
Aleksei Tirman [JB]
05/08/2024, 9:14 AM
Unfortunately, that's not possible without a modification of the