https://www.growthbook.io/ logo
#ask-questions
Title
# ask-questions
s

silly-dinner-68354

10/09/2023, 7:03 AM
Hello, I'm reading the NodeJS docs, and coming from LaunchDarkly, I was expecting to see some sort of
.on(…)
or other subscription-type API, to be informed of changes to feature flags for a project. The docs do mention that updates are streamed (using SSE) but don't quite spell it out. It looks like
setRenderer
might be the way to have some kind of callback fired when feature flag data changes (via streaming or
refreshFeatures
), is that assumption correct? (If I have somehow misread, or just missed, the documentation, please feel free to point that out.)
f

fresh-football-47124

10/09/2023, 7:52 AM
we have .on() methods - did you mean you want to tie into the event when on is true?
Ya, I think we could improve the docs around the methods
s

silly-dinner-68354

10/09/2023, 8:39 AM
Sorry, I meant
.on
in the
EventEmitter
sense. Like a way to subscribe to changes in feature flag data.
f

fresh-football-47124

10/09/2023, 8:41 AM
I see
let me check with the team on that
I know we have an event for the experiment
2 Views