https://pulumi.com logo
#general
Title
# general
b

big-soccer-75859

06/20/2018, 6:26 PM
Follow up question, I noticed that the function signature for
endpoint.get
takes multiple functions, how does that work, do they all run in parallel or something? https://github.com/pulumi/pulumi-cloud/blob/082b33b1a40c62e87df87dffd345ffe9c3874105/aws/api.ts#L101
b

bitter-oil-46081

06/20/2018, 6:32 PM
@white-balloon-205 can correct me if I am wrong, but I think this basically a way of doing middleware, so the functions run in order, not in parallel, and if one handler stops the future ones are not called.
b

big-soccer-75859

06/20/2018, 6:32 PM
Oh right, that's cool