Hello guys
I created the following continuous projection. I expected that an empty array would be returned but nothing is return.
The stream Subscription has one event. SubscriptionCreated. However I want to build a projection on event SubscriptionApproved. However I expected the subscription result to return an empty array and it is not.
fromCategory(‘Subscription’)
.when({
$init: function () {
return [];
}
}).outputState();