Skip to content

Allow overriding AsyncWorker::OnWorkComplete etc #582

@legendecas

Description

@legendecas

As for now, AsyncWorker::OnWorkComplete and AsyncWorker::OnExecute was declared as a static private method. We could make a global static function to accept an arbitrary AsyncWorker variant and invoke its own OnWorkComplete and OnExecute to make override possible.

This would be a blocking issue to implement AsyncProgressQueueWorker, which expects a queue cleanup before invoking either OnOk and OnError in OnWorkComplete.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions