Dobby 3.0
Dobby “Docker based Thingy” is a tool for managing and running OCI containers using crun
Loading...
Searching...
No Matches
Public Member Functions | Private Member Functions | Private Attributes | Friends | List of all members
DobbyAsyncResult Class Reference

Result object for async and deferred results. More...

#include <DobbyAsync.h>

Collaboration diagram for DobbyAsyncResult:
Collaboration graph
[legend]

Public Member Functions

bool getResult ()
 

Private Member Functions

 DobbyAsyncResult (IDobbyAsyncResultPrivate *priv)
 

Private Attributes

IDobbyAsyncResultPrivate *const mPrivate
 

Friends

std::shared_ptr< DobbyAsyncResultDobbyAsyncImpl (const std::string &name, const std::function< bool()> &func)
 
std::shared_ptr< DobbyAsyncResultDobbyDeferredImpl (const std::function< bool()> &func)
 

Detailed Description

Result object for async and deferred results.

The behaviour of this object is different depending on how it was created; for DobbyAsync objects, the getResults() method will wait for the function to complete in a separate thread before returning the results. For DobbyDeferred objects, the function is executed in the current thread when the getResults() method is called.


The documentation for this class was generated from the following files: