Package Exports
- @mimik/rediser
- @mimik/rediser/index.js
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@mimik/rediser) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
rediser
Example
import redis from '@mimik/rediser';- rediser
- async
- ~validate() ⇒
Promise
- ~validate() ⇒
- sync
- ~initializeSync() ⇒
object
- ~initializeSync() ⇒
- async
rediser~validate() ⇒ Promise
Database connection validation.
Kind: inner method of rediser
Returns: Promise - .
Category: async
Throws:
PromiseWill throw an error if the database connection is notconnectedand is notdisconnected.
Will exit 1 if the connection request times out and the connection state is not connected.
Requires: module:@mimik/sumologic-winston-logger
Fulfil: Return null.
rediser~initializeSync() ⇒ object
Database initialization.
Kind: inner method of rediser
Returns: object - The database object.
Category: sync
Requires: module:sumologic-winston-logger