रुको
Translation status: हिन्दी reader-locale proof. Term names and code fences follow the hi pack; supporting prose may still be English.
Awaits a वादा and discards the success value.
Aliases: await
Syntax: रुको future
Category#
async
Related#
Examples#
radix/corpus/tacebit/tacebit.fab (canonical · keyword)#
Awaits a वादा and discards the success value.
# =============================================================================
# रुको — Await-discard
# =============================================================================
#
# What this teaches:
# • Await any success type `T` and discard the resolved value.
# • Prefer when side effects matter and the success payload is unused.
#
# See also: रुको_स्थिर, रुको_लौटाओ, async, वादा
# =============================================================================
# GRAMMAR:
# awaitDiscard :← 'रुको' expr
फलन responde() async → संख्या {
लौटाओ 1
}
आरंभasync {
रुको responde()
दिखाओ "done"
}Expected output:
done