bogdanpolak / bogdanpolak/command-delphi

Unify events in TCommandAction and in TAsyncCommand

Open
#53 0 comments 0 reactions 0 assignees View on GitHub
doc-update-required refactoring
Dominant language
Pascal
Stars
29
Forks
6
PR merge metrics
No merged PRs in 30d

Description

TAsyncCommand:
```pas
function WithEventBeforeStart(aBeforeStart: TProc) ...
```
TCommandAction:
```pas
function WithEventOnUpdate(AUpdateProc: TProc) ...
```
Change: `TProc` to `TProc`

Contributor guide

No contributing guide indexed for this repository

Research direction

Locate the TCommandAction and TAsyncCommand declarations and compare their event-related methods, especially WithEventOnUpdate and WithEventBeforeStart. Update the event callback type as requested, then search for affected usages and verify that both command APIs accept the unified callback form.

Written by the indexing model from the issue text.

Assessment

Domain
tooling
Issue type
Refactor
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
55/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.