Refinitiv Data Platform Library for TypeScript

Session object

Session manages your connection to the data platform. Depending on its type, the session communicates either:

  • Directly with the platform or through a local access point (for example, Refinitiv Real-Time Distribution System or Workspace), or
  • Through a container application (for example, Workspace or Workspace for Web).

Before it can retrieve any data, your application must create a session and successfully open it.

Session object exposes methods for managing the session and since it is an instance of EventEmitter, it allows registering and listening for special events emitted by the session. For more information and usage examples about event types, refer to the Session Events section.