We are creating only one instance of the SendGrid class using the API Key of each subuser we have, and the send method which make the SendGrid request can be accessed by any of the threads we have, so is this thread safe? is there any problem for using it that way ? I mean reusing the same SendGrid instance from multiple threads ?
We are creating only one instance of the SendGrid class using the API Key of each subuser we have, and the send method which make the SendGrid request can be accessed by any of the threads we have, so is this thread safe? is there any problem for using it that way ? I mean reusing the same SendGrid instance from multiple threads ?