daml/triggers/runner
Moritz Kiefer fb86152f8c
Move non-IO initialization out of trigger runner (#5042)
Previously parts of the initialization, in particular, the code for
finding the filter and the heartbeat were part of the Runner. This led
to an akward API and didn’t really make any sense.

Now all of this code is part of a pure `Trigger.fromIdentifier`
method and the runner only takes care of actually running the
ledger. This could also be useful for the trigger service where we
might want to synchronously call `getIdentifier` so users get some
indication if there request even points to a valid trigger
directly. However, this is not tackled by this PR.

changelog_begin
changelog_end
2020-03-17 15:26:58 +01:00
..
src/main Move non-IO initialization out of trigger runner (#5042) 2020-03-17 15:26:58 +01:00
BUILD.bazel Fix detection of package ids for triggers (#5016) 2020-03-16 16:13:42 +01:00