-
-
Notifications
You must be signed in to change notification settings - Fork 28
Closed
Description
Hi there! I wanted to propose, as an alternative, to make the third parameter (default) of this function a callback. This would be useful if the default value is necessary, for example, to be obtained from the database or in some other difficult way. I do not suggest changing the API. I want the function to support this parameter with both value and callback. If a calback is transmitted, it will be called to get the value, otherwise it will be used as a value.
Metadata
Metadata
Assignees
Labels
No labels