Skip to content
Commit 6f4029a5 authored by Govinda Wasserman's avatar Govinda Wasserman
Browse files

Creates throttle function for flows

The throttle function works similarly to the debounce function except
that instead of filtering out all values for the period, it instead
slows the rate of emission to at most 1 value per period.

Test: atest ThrottleFlowTest
BUG:265451297
FIX:265451297
Change-Id: I1a7d337ee87e8dc92933d61ebdf32322c7c5befd
parent 9e732e64
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment