Document RenderSession.WithEndCondition

This commit is contained in:
copecone committed 2026-08-18 00:23:34 +09:00
1 parent 05d43f3bc2
commit c99f98a633
1 file changed
+5
+5
View File
@@ -62,6 +62,11 @@ public class RenderSession
return this; return this;
} }
/// <summary>
/// Sets the custom condition function that determines when the render session should end.
/// </summary>
/// <param name="endCondition">A delegate returning <c>true</c> when the session end condition is met.</param>
/// <returns>The current <see cref="RenderSession"/> instance for method chaining.</returns>
public RenderSession WithEndCondition(Func<bool> endCondition) public RenderSession WithEndCondition(Func<bool> endCondition)
{ {
_endCondition = endCondition; _endCondition = endCondition;