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
Calling context.CacheContext() and then writing the cacheContext should emit the events from the cached context as well
Problem Definition
Calling cache context followed by writeCache() does not emit the events emitted for the cached context since a new event manager has been used for the cached context. This causes the caller to also manually emit the events
Proposal
Modify the existing context.CacheContext() function to return a writeCache() function which also emits the cached events into the actual context event manager
The text was updated successfully, but these errors were encountered:
yeah, caller site has been writing the events explicitly, not sure if there's use case that don't want to write the events, maybe add a boolean parameter to the write function?
Summary
Calling
context.CacheContext()
and then writing thecacheContext
should emit the events from the cached context as wellProblem Definition
Calling cache context followed by writeCache() does not emit the events emitted for the cached context since a new event manager has been used for the cached context. This causes the caller to also manually emit the events
Proposal
Modify the existing
context.CacheContext()
function to return awriteCache()
function which also emits the cached events into the actual context event managerThe text was updated successfully, but these errors were encountered: