sample

signature: sample(sampler: Observable): Observable

Example 1: Sample source every 2 seconds
Example 2: Sample source when interval emits
Example 3: Distinguish between drag and click

Additional Resources