fient
Translation status: 简体中文 reader-locale proof. Code fences render through the zh-Hans pipeline; prose is canonical Latin.
Callable posture for asynchronous stream functions.
Aliases: async_generator
Syntax: functio name(…) fient → T
Category#
async
Related#
Examples#
radix/corpus/fient/fient.fab (canonical · keyword)#
Callable posture for asynchronous stream functions.
# =============================================================================
# fient — Asynchronous stream callable posture
# =============================================================================
#
# What this teaches:
# • Async stream posture: `fient → T` yields promised pulls of `T`.
# • Yield with `cede`; await other work with await morphology.
#
# Common mistakes:
# • Expecting every backend to lower `fient` — some fail closed until a
# channel/async-cursor carrier lands.
#
# See also: fiunt, fiet, cede
# =============================================================================
# GRAMMAR:
# callablePosture :← 'fient'
#
# BACKEND:
# Product path is Rust async-cursor; other backends may fail closed.
functio stream() fient → numerus { cede 1 cede 2 }
incipiet { nota stream() }