kukeiko / entity-space

MIT License
5 stars 1 forks source link

move caching logic from workspace to interceptor #210

Closed kukeiko closed 11 months ago

kukeiko commented 1 year ago

What

Instead of the EntityWorkspace handling caching logic, move it to interceptors

Why

How

Currently looking at the following idea: create two new interceptors LoadFromCacheInterceptor & WriteToCacheInterceptor

Both interceptors would have a reference to some IEntityDatabase to load from / write to.