Skip to content

Conversation

Ryu0118
Copy link
Owner

@Ryu0118 Ryu0118 commented Oct 21, 2023

debounce is an operator that plays only the last event in a sequence of SideEffects that have been issued for more than a certain time interval.

return .send(.queryChangeDebounced)
    .debounce(
        id: CancelID.response,
        for: .seconds(0.3), 
        clock: clock
    )

@Ryu0118 Ryu0118 changed the title Add debounce(id:for:clock:) to SideEffect Add debounce(id:for:clock:) to SideEffect Oct 21, 2023
@Ryu0118 Ryu0118 merged commit 48362dd into main Oct 22, 2023
@Ryu0118 Ryu0118 deleted the debounce branch October 22, 2023 17:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant