Commit Graph
17 Commits
Author SHA1 Message Date
Nuno Campos 837c9c9af2 Add validation, finish porting tests to new api 2023-10-16 13:52:35 +01:00
Nuno Campos 25dce1ff58 Update readme 2023-10-13 14:03:42 +01:00
Nuno Campos 12c203f3a3 Add tests 2023-10-13 13:37:39 +01:00
Nuno Campos 5e416347e7 Move over more tests from nc/combined-batch branch 2023-10-05 10:26:36 +01:00
Nuno Campos d19f4999b8 Chat listen() and iterate() to use PubSubMessage wrapper instead of raw value 2023-09-19 14:30:47 +01:00
Nuno Campos 92da3505d3 Implement new semantics for OUT topic
- The first message published to OUT ends the computation
- .invoke() returns a single value or None
- .stream() returns iterator of log entries, including the final OUT entry, if any
- Remove .peek() method
2023-09-19 14:09:59 +01:00
Nuno Campos a25b4e584e Rename keys in LogMessage 2023-09-19 11:19:18 +01:00
Nuno Campos 62f27eb8c4 Simpler init syntax for pubsub 2023-09-19 11:12:02 +01:00
Nuno Campos c2a5f54121 Rename state_id to correlation_id 2023-09-19 11:05:37 +01:00
Nuno Campos c74fd2b0ae Add more comments 2023-09-13 23:02:00 +01:00
Nuno Campos e093d989a0 Rename reduce() to join() 2023-09-13 22:44:56 +01:00
Nuno Campos c37f7e2c2a Add Topic.reduce() 2023-09-13 17:38:11 +01:00
Nuno Campos 24451a5ed7 Use explicit state_id 2023-09-12 19:23:59 +01:00
Nuno Campos d6501ebe0f Add test for .peek() 2023-09-12 18:43:26 +01:00
Nuno Campos 4c79b7a8a0 Move prefix management to Connection, Add Connection.peek(), Add test for resuming ongoing execution 2023-09-12 15:40:17 +01:00
Nuno Campos 1b9089ccca Add retry support 2023-09-12 12:09:05 +01:00
Nuno Campos 7f3eae759f Add first tests, fix some minor issues
- Temporarily comment out code using future runnables features
2023-08-29 14:10:52 +01:00