Effect CommunityEC
Effect Community3w ago
4 replies
flounderX42

Question about current best practices for extending Effect.Service

im going through doing basic practice stuff and working my way up.

is this not the right way anymore(pictured)?

should i be doing this version below?
class DbService extends Effect.Service<DbService>()(
'DbService',
{
scoped: dbService
}
) {}
Screenshot_2025-12-13_at_8.21.54_PM.png
Was this page helpful?