enqueue: add dependency resolution to order tasks correctly
The ordering alone should be sufficient, but to be safe it may be better to add a field in the payload for each task declaring which tasks it depends on.
The ordering alone should be sufficient, but to be safe it may be better to add a field in the payload for each task declaring which tasks it depends on.