Skip to main content

class executor::delegate

Declaration

class executor::delegate { /* full declaration omitted */ };

Description

Implement this as the owner of an executor to receive callbacks on completed horizons and epochs.

Member Function Overview

Member Functions

virtual void epoch_reached(task_id tid)

Description

Called from the executor thread as soon as an epoch_instruction has finished executing.

Parameters

task_id tid

virtual void horizon_reached(task_id tid)

Description

Called from the executor thread as soon as a horizon_instruction has finished executing.

Parameters

task_id tid

delegate()


delegate(const delegate&)

Parameters

const delegate&

delegate(delegate&&)

Parameters

delegate&&

delegate& operator=(const delegate&)

Parameters

const delegate&

delegate& operator=(delegate&&)

Parameters

delegate&&

~delegate()