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
In the preload function, the shared object ins't created yet.
Example:
asyncfunctionpreload(seneca){// seneca.shared is nullseneca.shared={};// Need to manually boot seneca shared// Now you can use the seneca.shared instance hereseneca.shared.x=10;// shared.x will be available outside}
Fix:
Instead of manually creating seneca.shared = {}, the seneca instance should be available already in preload function.
The text was updated successfully, but these errors were encountered:
In the preload function, the shared object ins't created yet.
Example:
Fix:
Instead of manually creating
seneca.shared = {}
, the seneca instance should be available already in preload function.The text was updated successfully, but these errors were encountered: