mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2024-12-23 11:40:52 +00:00
d1dbd1bb22
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 |