Finds the first threshold crossing at or after fromIndex.
Rising fires when the previous present value is at or below the threshold and the
current one is above it; falling is the mirror. A crossing counts only if it is after
notBefore and the buffer already holds the full pre-trigger window before it.
Finds the first threshold crossing at or after
fromIndex.Rising fires when the previous present value is at or below the threshold and the current one is above it; falling is the mirror. A crossing counts only if it is after
notBeforeand the buffer already holds the full pre-trigger window before it.