Siccity / xNode

Unity Node Editor: Lets you view and edit node graphs inside Unity
MIT License
3.34k stars 593 forks source link

async/await nodes #343

Closed muveso closed 2 years ago

muveso commented 2 years ago

is there a proper way to use async (specially UniTask) code implementations with xNode? any example or suggestions?

for example able to use

public override async Task<object> GetValue()
{
   while(!cancelationToken.isCanceled)
   {
      var val = await doHeavy();
   }
   return val;
}