Closed tgvashworth closed 6 years ago
To support state in groups of plugins, there should a fetchGroup factory method that allows deferring group creating until instantiation:
fetchGroup
const CoolGroup = fetchGroup(() => ({ filters: [ ... ], plugins: [ ... ] }); const fetch = fetchEngine({ plugins: [ new CoolGroup() ] });
To support state in groups of plugins, there should a
fetchGroup
factory method that allows deferring group creating until instantiation: