Right now, state is always included on the result object in the Node API. However, not all clients may want or need the state object. Since there is a performance cost to creating it, let's make it (and other future keys) opt-in via an include-state option.
Right now,
state
is always included on the result object in the Node API. However, not all clients may want or need thestate
object. Since there is a performance cost to creating it, let's make it (and other future keys) opt-in via aninclude-state
option.