mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2025-03-17 15:53:28 +00:00
The previous pattern used async methods for the builder pattern, which were hideous to use when chained multiple times. This extracts the builder into a separate class and uses normal functions in the builder. These queue async functions in arrays, which are executed at the correct time, when the new async `build` function is called. Signed-off-by: David Mehren <git@herrmehren.de> |
||
---|---|---|
.. | ||
private-api | ||
public-api | ||
test-setup.ts | ||
tsconfig.json | ||
tsconfig.json.license | ||
utils.ts |