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
If you have file_store enabled (which it is by default), then you can't delete state from the master bus.
This is because statebus doesn't yet gracefully handle multiple handlers implemented from different libraries, and file_store needs to know when something is deleted (e.g. on_delete) but all we expose now is the function for controlling deletes (e.g. to_delete).
I need to fix this design. Meanwhile, you can add this line to your code as a workaround:
bus('*').to_delete=(t)=>{t.done()}
...where bus is the name of your master bus.
The text was updated successfully, but these errors were encountered:
If you have file_store enabled (which it is by default), then you can't delete state from the master bus.
This is because statebus doesn't yet gracefully handle multiple handlers implemented from different libraries, and file_store needs to know when something is deleted (e.g.
on_delete
) but all we expose now is the function for controlling deletes (e.g.to_delete
).I need to fix this design. Meanwhile, you can add this line to your code as a workaround:
...where
bus
is the name of your master bus.The text was updated successfully, but these errors were encountered: