Rename layer to live
This commit is contained in:
parent
96b3b77b79
commit
49d6b6c8cc
15 changed files with 27 additions and 29 deletions
|
|
@ -92,5 +92,5 @@ class CommandEngine[Command, Event, State](
|
|||
end CommandEngine
|
||||
|
||||
object CommandEngine:
|
||||
def layer[Command: Tag, Event: Tag, State: Tag] =
|
||||
def live[Command: Tag, Event: Tag, State: Tag] =
|
||||
ZLayer.fromFunction(CommandEngine[Command, Event, State](_, _, _, _))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue