pmndrs / directed

A flexible, minimal scheduler written in TypeScript
MIT License
25 stars 1 forks source link

Add an api to add tag/runnable dependencies after creation #18

Open akdjr opened 2 months ago

akdjr commented 2 months ago

Currently, tag/runnable dependencies can only be specified when the tag is created or when the runnable is added to schedule. Add an api to create these relations for a rag or runnable that has already been created/added to the schedule.

Much like add/createTag, the schedule will need to be built after this method is called.