Start function when async task finished

I want to start a function when the async task is over.
This function creates a task:
void AModule::StartServerCheckAsync()
{
FAsyncTask *task = new FAsyncTask(testController);
task->StartBackgroundTask();
}
This one should work after task completed:
void AModule::SetData()
{
this->data = AHttpService::GetResponse();
}
Is there some kind of: task->OnTaskCompleted()…BindUObject(this, &AModule::SetData); ?

I’m sorry for bad code design here. It’s my first try