-
-
Notifications
You must be signed in to change notification settings - Fork 175
[question] Exposed members on Polka class #209
Copy link
Copy link
Open
Description
As part of some migrations, i've noticed myself needing the following members from Polka:
Polka#handler- so i can bind it torequestmyself rather than callinglistenwares- i want to create a newPolkawhich has the same middleware stack as another. for now i've literally setb.wares = a.waresbut maybe we should have a method for this?onError- i want to set the error handler after instantiatingPolka
basically, can i rely on these 3 things being part of the public interface? (i.e. you won't remove them without a new major)
and if not, what could we introduce to cover the same use cases in a supported way?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels