test-assignment
-
Write a function with makes 3 parallel api calls to a dummy endpoint, with a timeout of 100 millisecond. Return only those values which are captured within the timeout duration.
-
Write a function which invokes 3 instances of above function, and returns instantly as it gets first response from one of the invoked function.