> For the complete documentation index, see [llms.txt](https://kinematicsoup.gitbook.io/reactor/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://kinematicsoup.gitbook.io/reactor/api-reference/ks.reactor/ks.reactor.ksatomiclist-1/ks.reactor.ksatomiclist-1.foreachcallback.md).

# Delegate ksAtomicList\<T>.ForEachCallback

Namespace: [KS.Reactor](/reactor/api-reference/ks.reactor.md)\
Assembly: KSCommon.dll

Iteration callback.

```csharp
public delegate bool ksAtomicList<T>.ForEachCallback(T element)
```

#### Parameters

`element` T

Element being iterated.

#### Returns

[bool](https://learn.microsoft.com/dotnet/api/system.boolean)

False to stop iteration.
