From c99f98a63385855b40eaae73d5fb355fe99a6cfa2c9c505122fa85286fde61dd Mon Sep 17 00:00:00 2001 From: copecone Date: Tue, 18 Aug 2026 00:23:34 +0900 Subject: [PATCH] Document `RenderSession.WithEndCondition` --- API/RenderSession.cs | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/API/RenderSession.cs b/API/RenderSession.cs index c891904..3cf321f 100644 --- a/API/RenderSession.cs +++ b/API/RenderSession.cs @@ -62,6 +62,11 @@ public class RenderSession return this; } + /// + /// Sets the custom condition function that determines when the render session should end. + /// + /// A delegate returning true when the session end condition is met. + /// The current instance for method chaining. public RenderSession WithEndCondition(Func endCondition) { _endCondition = endCondition;