Closed alex3683 closed 7 years ago
Implemented on master
(v2.0.0
).
An action publisher for a feature can now be created for an optional feature configuration. In that case the resulting publisher function will do nothing more than returning a resolved promise when called. Example:
const publisher = actions.publisherForFeature( context, 'mayBeOptional', { optional: true } );
publisher().then( ... );
The returned publisher should then be a noop (with respect to #88).