Skip to content ka sehloohong

on

Ho hokela callback bakeng sa linaha tse fapaneng tsa fensetere.Predis ntho.

tšebeliso

predis.on("ready", () => {
// SDK is ready to call other methods e.g createPost
});

predis.on("error", () => {
// catch if there is any error SDK initialization
});

entsprechen

lebitsoTlhalosoTypehlokehang
stateBoemo ba ho hokela callback ho.
Boleng bo ka bang teng: ready, error
Sepheoe
callbackMosebetsi oa ho phethahatsa ha mmuso o qalamosebetsie