(exceeds-percentile-watermark? window
trigger
lower-extent-bound
upper-extent-bound
segment)
(percentile-watermark-fire? trigger
_
{:keys [lower-bound upper-bound event-type segment
window]})
(segment-fire? {:keys [trigger/threshold] :as trigger}
trigger-state
{:keys [event-type] :as state-event})
(segment-next-state {:keys [trigger/threshold]}
state
{:keys [event-type] :as state-event})
(timer-next-state {:keys [trigger/period] :as trigger}
[_ fire-time]
{:keys [event-type] :as state-event})
(watermark-fire? trigger
_
{:keys [event-type upper-bound watermarks] :as state-event})
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close