From 9a537bb8c26b2d039d5cdf07521053fada99a232 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mike=20Schw=C3=B6rer?= Date: Sat, 20 Sep 2025 15:21:15 +0200 Subject: [PATCH] v0.0.604 --- dataext/delayedCombiningInvoker.go | 6 ++++++ goextVersion.go | 4 ++-- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/dataext/delayedCombiningInvoker.go b/dataext/delayedCombiningInvoker.go index 83afffe..b8c0c7f 100644 --- a/dataext/delayedCombiningInvoker.go +++ b/dataext/delayedCombiningInvoker.go @@ -9,6 +9,12 @@ import ( "git.blackforestbytes.com/BlackForestBytes/goext/syncext" ) +// DelayedCombiningInvoker is a utility to combine multiple consecutive requests into a single execution +// +// Requests are made with Request(), and consecutive requests are combined during the `delay` period. +// +// Can be used, e.g., for search-controls, where we want to init the search when teh user stops typing +// Or generally to queue an execution once a burst of requests is over. type DelayedCombiningInvoker struct { syncLock sync.Mutex triggerChan chan bool diff --git a/goextVersion.go b/goextVersion.go index 6a5bfdc..77be715 100644 --- a/goextVersion.go +++ b/goextVersion.go @@ -1,5 +1,5 @@ package goext -const GoextVersion = "0.0.603" +const GoextVersion = "0.0.604" -const GoextVersionTimestamp = "2025-09-20T15:19:09+0200" +const GoextVersionTimestamp = "2025-09-20T15:21:15+0200"