i have an extension which send me some data in order success observer via curl
protected function getCurlClient(): Curl
{
return $this->curl;
}
and then i call it
$this->getCurlClient()->post(self::API_URL, json_encode(SomeData));
and currently the post request is sync and i want to make it async