Navigation
API > API/Runtime > API/Runtime/VerseCompiler > API/Runtime/VerseCompiler/uLang > API/Runtime/VerseCompiler/uLang/Semantics
Inheritance Hierarchy
- CAstNode
- CAttributable
- CExpressionBase
- CExprSubBlockBase
- CExprSpawn
References
| Module | VerseCompiler |
| Header | /Engine/Source/Runtime/VerseCompiler/Public/uLang/Semantics/Expression.h |
| Include | #include "uLang/Semantics/Expression.h" |
Syntax
class CExprSpawn : public uLang::CExprSubBlockBase
Remarks
Spawn concurrency primitive - spawn {Coro()} [future: spawn {Expr1; Expr2}] Async expression treated as a closure/lambda with next expression executed immediately while the started async expression continues independently. Has no result. spawn essentially makes any async expression an immediate expression. This also means that it can allow async expressions / coroutines to be called within immediate functions.
Overridden from CAstNode
| Type | Name | Description | |
|---|---|---|---|
| CUTF8String | GetErrorDesc () |
Text methods. | |
| EAstNodeType | GetNodeType () |