capture->invokeAutoCollect
Invokes a capture while collecting output.
Target
Signature
1capture->invokeAutoCollect(...)Invokes a capture while collecting output.
capture->invokeAutoCollect is called with member syntax on a receiver value. capture->invokeAutoCollect affects how expressions are parsed. Small examples are worth running in isolation before placing the same shape inside a larger template block.
Parameters
...- Additional values may be supplied after the earlier arguments.
Examples
Basic call
1currentCapture->invokeAutoCollectThe example shows the normal call shape. Adapt variable names, validation, and surrounding error handling to the context.