Photon Fusion 2.0.9

Public Member Functions | Properties | List of all members
NetworkSceneAsyncOp.Awaiter Struct Reference

Awaiter for NetworkSceneAsyncOp More...

Inherits INotifyCompletion.

Public Member Functions

 Awaiter (in NetworkSceneAsyncOp op)
 Creates a new Awaiter instance More...
 
void GetResult ()
 Gets the result of the operation More...
 
void OnCompleted (Action continuation)
 Adds a callback to be called when the operation is completed More...
 

Properties

bool IsCompleted [get]
 Signals if the operation is completed More...
 

Detailed Description

Awaiter for NetworkSceneAsyncOp

Constructor & Destructor Documentation

◆ Awaiter()

Creates a new Awaiter instance

Parameters
opThe operation to await

Member Function Documentation

◆ GetResult()

void GetResult ( )

Gets the result of the operation

◆ OnCompleted()

void OnCompleted ( Action  continuation)

Adds a callback to be called when the operation is completed

Parameters
continuationThe callback to be called

Property Documentation

◆ IsCompleted

bool IsCompleted
get

Signals if the operation is completed