bogdanpolak / bogdanpolak/command-delphi
Unify events in TCommandAction and in TAsyncCommand
Open
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