Navigation
API > API/Runtime > API/Runtime/VerseCompiler
Sync concurrency primitive - sync {coro1() _coro2()} 2+ Async expressions run concurrently and next expression executed when _all expressions completed. Its overall result is the result of the last expression in the block to complete (using most specific common compatible result type of all expressions or no result if there is no common type). Expressions may only be async (such as coroutines).
| Name | CExprSync |
| Type | class |
| Header File | /Engine/Source/Runtime/VerseCompiler/Public/uLang/Semantics/Expression.h |
| Include Path | #include "uLang/Semantics/Expression.h" |
Syntax
class CExprSync : public uLang::CExprConcurrentBlockBase
Inheritance Hierarchy
- CSharedMix → CAstNode → CExpressionBase → CExprCompoundBase → CExprConcurrentBlockBase → CExprSync
- CAttributable → CExpressionBase → CExprCompoundBase → CExprConcurrentBlockBase → CExprSync
Functions
Public
Overridden from CAstNode
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual CUTF8String GetErrorDesc() |
Text methods. | uLang/Semantics/Expression.h | |
virtual EAstNodeType GetNodeType() |
uLang/Semantics/Expression.h |