रेंडरिंगhi

रुको_लौटाओ

Translation status: हिन्दी reader-locale proof. Term names and code fences follow the hi pack; supporting prose may still be English.

Awaits a वादा and returns its success value from a async body.

Aliases: return_await

Syntax: रुको_लौटाओ future

Category#

async

Examples#

radix/corpus/reddet/reddet.fab (canonical · keyword)#

Awaits a वादा and returns its success value from a async body.

# =============================================================================
# रुको_लौटाओ — Await-return
# =============================================================================
#
# What this teaches:
#   • Await and return from a `async` function only (`रुको_लौटाओ future`).
#
# See also: रुको_स्थिर, रुको, async, लौटाओ
# =============================================================================

फलन interior() async → संख्या {
    लौटाओ 9
}

फलन exterior() async → संख्या {
    रुको_लौटाओ interior()
}

आरंभasync {
    रुको_स्थिर संख्या v ← exterior()
    दिखाओ v
}

Expected output:

9