Service global #57

Closed
opened 2020-03-19 20:57:22 +00:00 by jamie · 0 comments
jamie commented 2020-03-19 20:57:22 +00:00 (Migrated from git.hazaar.io)

I had an idea about how to get code to integrate with warlock a bit better. When the app starts, we can populate a global variable with the service object, making it available everywhere. That means that models will be able to call sleep(), trigger(), log(), etc without having to pass the service to the model function. Then we can have a dummy service for when these functions are called in the front-end app.

I had an idea about how to get code to integrate with warlock a bit better. When the app starts, we can populate a global variable with the service object, making it available everywhere. That means that models will be able to call sleep(), trigger(), log(), etc without having to pass the service to the model function. Then we can have a dummy service for when these functions are called in the front-end app.
jamie (Migrated from git.hazaar.io) closed this issue 2024-07-22 08:52:49 +00:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: hazaar/hazaar-warlock#57
No description provided.