Add callback functionality to graph API calls that don't execute immediatly

Add callback functionality to graph API calls that don't execute immediatly
0

Upvotes

Upvote

 Nov 24 2021
0 Comments 
New

We're currently trying to implement the graph API to create and manage Teams. Many of the API calls however aren't executed/completed immediatly. Creating a Group for example can take up to 15 minutes. Any tasks that should be executed afterwards (creating the team, adding members, etc ...) need to be run 'on trial and error'. It would be cleaner if these type of API calls would simply support a callback functionality so we can use that to trigger the subsequent tasks and not having to use loops and timers.