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
There is a key difference in behaviour between App Channels and System/User channels in FDC3 versions 1.1, 1.2, 2.0 in that, when you join a user channel (or add a context listener when already joined to the channel) your handler immediately receives the current context of the channel (filtered by the type of the listener). However, this is not the case when working with a channel through the Channel interface. In that case, you do NOT receive the current context but can retrieve it manually with channel.getCurrentContext(/* optional context type name */).
This is currently (i.e. in 2.0) only stated in the overview:
2.0:
When an app joins a User channel, or adds a context listener when already joined to a channel, it will automatically receive the current context for that channel.
and not in the function references for either the main Desktop Agent API or Channel interface. Hence, it is often missed by both Desktop Agent developers and application developers. Additional copy should be added to past and current documentation to clarify the behavior that should be expected.
The text was updated successfully, but these errors were encountered:
Area of Issue
[x] API
Issue Description:
There is a key difference in behaviour between App Channels and System/User channels in FDC3 versions 1.1, 1.2, 2.0 in that, when you join a user channel (or add a context listener when already joined to the channel) your handler immediately receives the current context of the channel (filtered by the type of the listener). However, this is not the case when working with a channel through the Channel interface. In that case, you do NOT receive the current context but can retrieve it manually with
channel.getCurrentContext(/* optional context type name */)
.This is currently (i.e. in 2.0) only stated in the overview:
2.0:
https://fdc3.finos.org/docs/api/spec#joining-user-channels
1.2
https://fdc3.finos.org/docs/1.2/api/spec#joining-channels
and not in the function references for either the main Desktop Agent API or Channel interface. Hence, it is often missed by both Desktop Agent developers and application developers. Additional copy should be added to past and current documentation to clarify the behavior that should be expected.
The text was updated successfully, but these errors were encountered: