Skip to content

Commit

Permalink
Merge pull request #30 from golemcloud/oplog-search
Browse files Browse the repository at this point in the history
Oplog search API
  • Loading branch information
vigoo authored Oct 21, 2024
2 parents 381f967 + 71a9d2a commit 05feeac
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions wit/deps/golem-1.1/golem-oplog-1.1.wit
Original file line number Diff line number Diff line change
Expand Up @@ -236,4 +236,9 @@ interface oplog {
constructor(worker-id: worker-id, start: oplog-index);
get-next: func() -> option<list<oplog-entry>>;
}

resource search-oplog {
constructor(worker-id: worker-id, text: string, older-than: option<oplog-index>);
get-next: func() -> option<list<tuple<oplog-index, oplog-entry>>>;
}
}

0 comments on commit 05feeac

Please sign in to comment.