Version: Next
Async Helpers & Filters
Squirrelly supports optional async support using the async
and await
keywords (to support ES5 and lower, use a plugin or transpiler).
Basic Syntax
Essentially, just put an async
in front of a helper or filter name.
Examples
{{@ async helpername(parameters) => var1 }}
{{/helpername}}
{{val | filter1 | async filter2}}
{{@async include("mypartial") /}}