غيرمتزامن
Translation status: العربية reader-locale proof. Term names and code fences follow the ar pack; supporting prose may still be English.
Callable posture for asynchronous finite functions.
Aliases: async
Syntax: دالة name(…) غيرمتزامن → T
Category#
async
Related#
Examples#
radix/corpus/fiet/fiet.fab (canonical · keyword)#
Callable posture for asynchronous finite functions.
# =============================================================================
# غيرمتزامن — Asynchronous finite callable posture
# =============================================================================
#
# What this teaches:
# • Preferred async posture word after the parameter list: `غيرمتزامن → T`.
# • Return type is observed as `وعد<T>` at call sites.
# • Consume with `انتظر_ثابت`, `انتظر_متغير`, `أعد_منتظرا`, or `انتظر`.
#
# Common mistakes:
# • Using bare `سلم` to await — await is not yield; use await morphology.
#
# See also: مستقبل, وعد, انتظر_ثابت, انتظر
# =============================================================================
# GRAMMAR:
# callablePosture :← 'غيرمتزامن'
#
# EXPECTED OUTPUT:
# 42
دالة responde() غيرمتزامن → عدد {
أعد 42
}
استهلال {
انتظر_ثابت _ responsum ← responde()
اعرض responsum
}Expected output:
42