/*** Copyright (C) 2021 J Reece Wilson (a/k/a "Reece"). All rights reserved. File: Jobs.hpp Date: 2021-11-1 Author: Reece ***/ #pragma once namespace Aurora::Async { template struct FJob { using InfoType_t = Info_t; using ResultType_t = Result_t; AuFunction onSuccess; AuFunction onFailure; }; template struct CJob { using InfoType_t = Info_t; using ResultType_t = Result_t; void(* onSuccess)(const Info_t &, const Result_t &); void(* onFailure)(const Info_t &); }; using FVoidJob = FJob; }