On my research list after making this short note April 2024: [Wayback/Archive] GitHub – Laurensvanrun/Delphi-Promises: Delphi implementation of promises for asynchronous programming.
My first impression is that this might be on the same level of usefulness and influention as these two:
- [Wayback/Archive] Home – The Ultimate Delphi Threading Library
- [Wayback/Archive] sglienke / spring4d — Bitbucket
Notes:
- The core code is in [Wayback/Archive] raw.githubusercontent.com/Laurensvanrun/Delphi-Promises/refs/heads/main/Core/Types/Next.Core.Promises.pas (syntax highlighted at [Wayback/Archive] Delphi-Promises/Core/Types/Next.Core.Promises.pas at main · Laurensvanrun/Delphi-Promises · GitHub).
- There are many unit tests.
- Some dependencies are included as deep clones instead of hash-referenced git submodules.
- It is platform neutral since[Wayback/Archive] Windows API dependency removal by tk-tmssoftware · Pull Request #8 · Laurensvanrun/Delphi-Promises · GitHub
Via: [WaybackSave/Archive] Bruno Fierens on X: “This #Delphi promises implementation looks promising https://t.co/4E8p8fTG7L” / X
--
jeroen