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've just discovered that publishing messages to a when array of channelDefs will fail to cause the when callback to be called if the messages do not have a data property. I'm having to do this:
I'm not suggesting that the data property's value must be an empty plain object, only that it must be present. If I remove the data property, the when callback never gets called.
I don't think this is appropriate. It's not always the case that the message payloads are of interest. Meaningfulness might actually simply be that all of the messages were published and received [within the timeout interval], without regard for the payloads.
Please advise.
Thank you!
The text was updated successfully, but these errors were encountered:
Hello,
I've just discovered that publishing messages to a
when
array ofchannelDefs
will fail to cause thewhen
callback to be called if the messages do not have adata
property. I'm having to do this:I'm not suggesting that the
data
property's value must be an empty plain object, only that it must be present. If I remove thedata
property, thewhen
callback never gets called.I don't think this is appropriate. It's not always the case that the message payloads are of interest. Meaningfulness might actually simply be that all of the messages were published and received [within the timeout interval], without regard for the payloads.
Please advise.
Thank you!
The text was updated successfully, but these errors were encountered: