Open uproid opened 1 year ago
When I want to call an async function from the template I got the Future type string: "Instance of 'Future'".
{{ context.callfunc() }}
I need to use await for async functions on template. {{ await context.callfunc() }}
Not yet supported. I'll add await support and Template.stream() after macro functions. Next month.
await
Template.stream()
macro
When I want to call an async function from the template I got the Future type string: "Instance of 'Future'".
{{ context.callfunc() }}
I need to use await for async functions on template. {{ await context.callfunc() }}