PromiseRef< RESULTVALUETYPE > Class Template Reference

#include <job.h>

Public Member Functions

 MAXON_DEFAULT_REFERENCE_CONSTRUCTORS (PromiseRef, JobRef)
 
void MoveValue (RESULTVALUETYPE &&value)
 
JobResultRef< RESULTVALUETYPE > & GetFuture ()
 

Member Function Documentation

◆ MAXON_DEFAULT_REFERENCE_CONSTRUCTORS()

MAXON_DEFAULT_REFERENCE_CONSTRUCTORS ( PromiseRef< RESULTVALUETYPE >  ,
JobRef   
)

◆ MoveValue()

void MoveValue ( RESULTVALUETYPE &&  value)

Move assigns the promise value.

◆ GetFuture()

JobResultRef<RESULTVALUETYPE>& GetFuture ( )