Skip to content

Commit

Permalink
feat(worker): add cu_ids to worker create
Browse files Browse the repository at this point in the history
  • Loading branch information
gurinderu committed Feb 19, 2024
1 parent f2665b0 commit dbe0309
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion workers.aqua
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import PeerId from "./builtin.aqua"
service Worker("worker"):
-- Creates new worker associated with `deal_id`.
-- Throws an error if worker exists.
create(deal_id: string) -> PeerId
create(deal_id: string, cu_ids: []string) -> PeerId

-- Returns worker peer id associated with `deal_id`.
-- Returns nil if worker doesn't exist.
Expand Down

0 comments on commit dbe0309

Please sign in to comment.