Forum Discussion

frank_guarino_murata_com's avatar
1 year ago
Solved

When calling a C# Method from within another C# method, does the called method finish first or are they async?

As title,  If I have a server method: Item anItem = inn.getItemById("anItem", "1"); anItem.apply("second_method"); .... other processing Does the "other processing" execute right a...
  • little_legend's avatar
    1 year ago

    Hello Frank,

    The 'other processing' is waiting for the anItem.apply() to finish.

    A good practice is also to check if anItem.isError() in case "second_method" fails for some reason.

    Regards