You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I would like to use the DataDispatcher to create child TransientBuffers, which, when created, would accept messages having a specific signature, and buffer these messages. Buffering to occur because when created, they would not be linked to a downstream flow. Later, when an async httpclient fetch completes, messages having these specific signatures can be processed, so at that time, I'd like to link the child TransientBuffers to a _terminator flow. Is it possible (and what syntax would I use) to get an IEnumerable of all child dataflows whose ISourceBlock is NOT linked at all ( or not linked to a specific dataflow)? and having produced that list of child dataflows, determine what the dispatch function is for each?
The text was updated successfully, but these errors were encountered:
Since this class member is protected, you can easily expose it in your own subclass as a property and enumerable through the values of m_destinations to get an IEnumerable of all child dataflows.
and having produced that list of child dataflows, determine what the dispatch function is for each?
DataDispatcher uses only one dispatch function( Func<TIn, TKey> dispatchFunc ), so all the children have the same dispatch function. I guess what you mean is the return value of the dispatch function for every child? That could also be retrieved by the keys of m_destinations dictionary, as mentioned above.
I would like to use the DataDispatcher to create child TransientBuffers, which, when created, would accept messages having a specific signature, and buffer these messages. Buffering to occur because when created, they would not be linked to a downstream flow. Later, when an async httpclient fetch completes, messages having these specific signatures can be processed, so at that time, I'd like to link the child TransientBuffers to a _terminator flow. Is it possible (and what syntax would I use) to get an IEnumerable of all child dataflows whose ISourceBlock is NOT linked at all ( or not linked to a specific dataflow)? and having produced that list of child dataflows, determine what the dispatch function is for each?
The text was updated successfully, but these errors were encountered: