Provider
Summary
Defines the base provider for all providers.
A provider manages resources from its associated storage.
Constructor
Provider
Syntax
Provider
(
-
storage
Summary
Parameters:
-
storage
StorageThe storage to use to store provider resources
Methods
executeCallback
Syntax
executeCallback
(
-
[callback]
-
[error]
-
[callback]
Summary
Executes the given callback or log the error message if no callback specified.
It assumes that the second argument is the error. All arguments, except the callback itself, will be specified as arguments when executing the callback.