Exemplo n.º 1
0
 private IPromise NetworkBroadcastApiInitialized(NetworkBroadcastApi api)
 {
     return(new Promise((resolved, rejected) =>
     {
         OnNetworkBroadcastApiInitialized.SafeInvoke(api);
         resolved();
     }));
 }
Exemplo n.º 2
0
 IPromise NetworkBroadcastApiInitialized(NetworkBroadcastApi api)
 {
     return(new Promise((resolved, rejected) => {
         if (!OnNetworkBroadcastApiInitialized.IsNull())
         {
             OnNetworkBroadcastApiInitialized.Invoke(api);
         }
         resolved();
     }));
 }