This adds a new @provideAsync decorator which is complementary to @provide. This decorator resolves promises automatically, avoiding any awkward handling of Promises inside @consume getters.
(This is for 2.0 - but this is in the main branch to make merges into 2.0 easier).
This adds a new
@provideAsync
decorator which is complementary to@provide
. This decorator resolves promises automatically, avoiding any awkward handling of Promises inside@consume
getters.(This is for 2.0 - but this is in the main branch to make merges into 2.0 easier).