on
Ka itinye oku azụ maka steeti dị iche iche nke mpio.Predis ihe.
ojijiNa
predis.on("ready", () => {
// SDK is ready to call other methods e.g createPost
});
predis.on("error", () => {
// catch if there is any error SDK initialization
});
kwaNa
| aha | Description | ụdị | chọrọ |
|---|---|---|---|
state | Steeti ijikọ azụ oku na. Uru enwere ike: ready, error | Ihe | ee |
callback | Ọrụ a ga-eme mgbe a kpalitere steeti | ọrụ | ee |