Photon Fusion 2.1.1

NetworkSceneAsyncOp.Awaiter Struct Reference

Awaiter for NetworkSceneAsyncOp. More...

Public Member Functions

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

Properties

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

Detailed Description

Awaiter for NetworkSceneAsyncOp.

Constructor & Destructor Documentation

◆ Awaiter()

Awaiter ( in NetworkSceneAsyncOp op)

Creates a new Awaiter instance.

Parameters
opThe operation to await

Member Function Documentation

◆ OnCompleted()

void OnCompleted ( Action continuation)

Adds a callback to be called when the operation is completed.

Parameters
continuationThe callback to be called