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
When you use getMiniflareDurableObjectStorage() it starts the DO before you can access the storage.
That implies that the DO initialization happens before you are able to setup storage to test its initialization.
So @mrbbot suggested this implementation that works great, but a direct getMiniflareDurableObjectDirectStorage(); makes all the sense for these kind of uses cases.
When you use getMiniflareDurableObjectStorage() it starts the DO before you can access the storage.
That implies that the DO initialization happens before you are able to setup storage to test its initialization.
So @mrbbot suggested this implementation that works great, but a direct getMiniflareDurableObjectDirectStorage(); makes all the sense for these kind of uses cases.
In my use case I ended up using
The text was updated successfully, but these errors were encountered: