SSE (Server Sent Events) in OSDK? How to receive real time updates from the Ontology?

I would like to subscribe to events from Foundry in OSDK. How can I configure this ? Is there an SSE implementation in OSDK ?

It is possible to subscribe to events when objects in a specific objects set are updated. This allows to receive real time updates about changes to objects in your Ontology: creation, editing and deletion of objects.

See https://www.palantir.com/docs/foundry/ontology-sdk/typescript-subscriptions

You should also have documentation built-in your Developer Console application, which generated the OSDK.