[{"data":1,"prerenderedAt":1240},["ShallowReactive",2],{"navigation":3,"\u002Fguides\u002Fevents":116,"\u002Fguides\u002Fevents-surround":1235},[4,23,61,82,108,112],{"title":5,"icon":6,"path":7,"stem":8,"children":9,"page":22},"Getting started","i-lucide-rocket","\u002Fgetting-started","1.getting-started",[10,14,18],{"title":11,"path":12,"stem":13},"Introduction","\u002Fgetting-started\u002Fintroduction","1.getting-started\u002F1.introduction",{"title":15,"path":16,"stem":17},"Installation","\u002Fgetting-started\u002Finstallation","1.getting-started\u002F2.installation",{"title":19,"path":20,"stem":21},"Quick start","\u002Fgetting-started\u002Fquick-start","1.getting-started\u002F3.quick-start",false,{"title":24,"icon":25,"path":26,"stem":27,"children":28,"page":22},"Guides","i-lucide-book-open","\u002Fguides","2.guides",[29,33,37,41,45,49,53,57],{"title":30,"path":31,"stem":32},"Connection & config","\u002Fguides\u002Fconnection","2.guides\u002F1.connection",{"title":34,"path":35,"stem":36},"Publish, RPC, history, presence","\u002Fguides\u002Foperations","2.guides\u002F2.operations",{"title":38,"path":39,"stem":40},"Events","\u002Fguides\u002Fevents","2.guides\u002F3.events",{"title":42,"path":43,"stem":44},"Subscriptions","\u002Fguides\u002Fsubscriptions","2.guides\u002F4.subscriptions",{"title":46,"path":47,"stem":48},"Tokens","\u002Fguides\u002Ftokens","2.guides\u002F5.tokens",{"title":50,"path":51,"stem":52},"Payloads (base64 vs rawJson)","\u002Fguides\u002Fpayloads","2.guides\u002F6.payloads",{"title":54,"path":55,"stem":56},"Rust backend","\u002Fguides\u002Frust","2.guides\u002F7.rust",{"title":58,"path":59,"stem":60},"Permissions","\u002Fguides\u002Fpermissions","2.guides\u002F8.permissions",{"title":62,"icon":63,"path":64,"stem":65,"children":66,"page":22},"API reference","i-lucide-file-code","\u002Freference","3.reference",[67,71,75,79],{"title":68,"path":69,"stem":70},"JavaScript API","\u002Freference\u002Fjavascript-api","3.reference\u002F1.javascript-api",{"title":72,"path":73,"stem":74},"Types","\u002Freference\u002Ftypes","3.reference\u002F2.types",{"title":76,"path":77,"stem":78},"Tauri commands","\u002Freference\u002Fcommands","3.reference\u002F3.commands",{"title":58,"path":80,"stem":81},"\u002Freference\u002Fpermissions","3.reference\u002F4.permissions",{"title":83,"icon":84,"path":85,"stem":86,"children":87,"page":22},"Platforms","i-lucide-monitor-smartphone","\u002Fplatforms","4.platforms",[88,92,96,100,104],{"title":89,"path":90,"stem":91},"Overview","\u002Fplatforms\u002Foverview","4.platforms\u002F1.overview",{"title":93,"path":94,"stem":95},"Desktop","\u002Fplatforms\u002Fdesktop","4.platforms\u002F2.desktop",{"title":97,"path":98,"stem":99},"Android","\u002Fplatforms\u002Fandroid","4.platforms\u002F3.android",{"title":101,"path":102,"stem":103},"iOS","\u002Fplatforms\u002Fios","4.platforms\u002F4.ios",{"title":105,"path":106,"stem":107},"Centrifugo server","\u002Fplatforms\u002Fserver","4.platforms\u002F5.server",{"title":109,"path":110,"stem":111},"Deprecations","\u002Fdeprecations","5.deprecations",{"title":113,"path":114,"stem":115},"Changelog","\u002Fchangelog","9.changelog",{"id":117,"title":38,"body":118,"description":1229,"extension":1230,"generated":22,"links":1231,"meta":1232,"navigation":214,"path":39,"seo":1233,"stem":40,"__hash__":1234},"docs\u002F2.guides\u002F3.events.md",{"type":119,"value":120,"toc":1222},"minimark",[121,150,522,527,661,695,699,712,872,876,882,973,977,1072,1076,1085,1195,1202,1218],[122,123,124,125,129,130,133,134,137,138,141,142,145,146,149],"p",{},"The backend emits Tauri events named ",[126,127,128],"code",{},"centrifugo:\u003Cevent>"," to all windows. The ",[126,131,132],{},"on*"," helpers wrap\n",[126,135,136],{},"listen()",": the callback gets the whole Tauri event (",[126,139,140],{},"{ event, payload, id }","), the data is in\n",[126,143,144],{},"payload",". Each helper resolves to an ",[126,147,148],{},"UnlistenFn",".",[151,152,157],"pre",{"className":153,"code":154,"language":155,"meta":156,"style":156},"language-ts shiki shiki-themes material-theme-lighter material-theme material-theme-palenight","import { onSubscribed, onCentrifugoEvent, type TauriEventWrapper } from \"tauri-plugin-centrifugo-api\";\n\nconst off = await onSubscribed(({ payload }) => {\n  console.log(payload.channel, payload.recovered, payload.streamPosition);\n});\n\n\u002F\u002F Events without a helper:\ntype Join = { channel: string; info: { client: string; user: string; connInfo: string; chanInfo: string } };\nconst offJoin = await onCentrifugoEvent\u003CTauriEventWrapper\u003CJoin>>(\"join\", ({ payload }) => {\n  console.log(payload.info.user, \"joined\", payload.channel);\n});\n\noff();\noffJoin();\n","ts","",[126,158,159,209,216,254,298,308,313,320,393,443,487,496,501,512],{"__ignoreMap":156},[160,161,164,168,172,176,179,182,184,187,190,193,196,199,203,206],"span",{"class":162,"line":163},"line",1,[160,165,167],{"class":166},"s7zQu","import",[160,169,171],{"class":170},"sMK4o"," {",[160,173,175],{"class":174},"sTEyZ"," onSubscribed",[160,177,178],{"class":170},",",[160,180,181],{"class":174}," onCentrifugoEvent",[160,183,178],{"class":170},[160,185,186],{"class":166}," type",[160,188,189],{"class":174}," TauriEventWrapper",[160,191,192],{"class":170}," }",[160,194,195],{"class":166}," from",[160,197,198],{"class":170}," \"",[160,200,202],{"class":201},"sfazB","tauri-plugin-centrifugo-api",[160,204,205],{"class":170},"\"",[160,207,208],{"class":170},";\n",[160,210,212],{"class":162,"line":211},2,[160,213,215],{"emptyLinePlaceholder":214},true,"\n",[160,217,219,223,226,229,232,235,238,241,245,248,251],{"class":162,"line":218},3,[160,220,222],{"class":221},"spNyl","const",[160,224,225],{"class":174}," off ",[160,227,228],{"class":170},"=",[160,230,231],{"class":166}," await",[160,233,175],{"class":234},"s2Zo4",[160,236,237],{"class":174},"(",[160,239,240],{"class":170},"({",[160,242,244],{"class":243},"sHdIc"," payload",[160,246,247],{"class":170}," })",[160,249,250],{"class":221}," =>",[160,252,253],{"class":170}," {\n",[160,255,257,260,262,265,268,270,272,275,277,279,281,284,286,288,290,293,296],{"class":162,"line":256},4,[160,258,259],{"class":174},"  console",[160,261,149],{"class":170},[160,263,264],{"class":234},"log",[160,266,237],{"class":267},"swJcz",[160,269,144],{"class":174},[160,271,149],{"class":170},[160,273,274],{"class":174},"channel",[160,276,178],{"class":170},[160,278,244],{"class":174},[160,280,149],{"class":170},[160,282,283],{"class":174},"recovered",[160,285,178],{"class":170},[160,287,244],{"class":174},[160,289,149],{"class":170},[160,291,292],{"class":174},"streamPosition",[160,294,295],{"class":267},")",[160,297,208],{"class":170},[160,299,301,304,306],{"class":162,"line":300},5,[160,302,303],{"class":170},"}",[160,305,295],{"class":174},[160,307,208],{"class":170},[160,309,311],{"class":162,"line":310},6,[160,312,215],{"emptyLinePlaceholder":214},[160,314,316],{"class":162,"line":315},7,[160,317,319],{"class":318},"sHwdD","\u002F\u002F Events without a helper:\n",[160,321,323,326,330,333,335,338,341,344,347,350,352,354,357,359,361,363,366,368,370,372,375,377,379,381,384,386,388,390],{"class":162,"line":322},8,[160,324,325],{"class":221},"type",[160,327,329],{"class":328},"sBMFI"," Join",[160,331,332],{"class":170}," =",[160,334,171],{"class":170},[160,336,337],{"class":267}," channel",[160,339,340],{"class":170},":",[160,342,343],{"class":328}," string",[160,345,346],{"class":170},";",[160,348,349],{"class":267}," info",[160,351,340],{"class":170},[160,353,171],{"class":170},[160,355,356],{"class":267}," client",[160,358,340],{"class":170},[160,360,343],{"class":328},[160,362,346],{"class":170},[160,364,365],{"class":267}," user",[160,367,340],{"class":170},[160,369,343],{"class":328},[160,371,346],{"class":170},[160,373,374],{"class":267}," connInfo",[160,376,340],{"class":170},[160,378,343],{"class":328},[160,380,346],{"class":170},[160,382,383],{"class":267}," chanInfo",[160,385,340],{"class":170},[160,387,343],{"class":328},[160,389,192],{"class":170},[160,391,392],{"class":170}," };\n",[160,394,396,398,401,403,405,407,410,413,415,418,421,423,425,428,430,432,435,437,439,441],{"class":162,"line":395},9,[160,397,222],{"class":221},[160,399,400],{"class":174}," offJoin ",[160,402,228],{"class":170},[160,404,231],{"class":166},[160,406,181],{"class":234},[160,408,409],{"class":170},"\u003C",[160,411,412],{"class":328},"TauriEventWrapper",[160,414,409],{"class":170},[160,416,417],{"class":328},"Join",[160,419,420],{"class":170},">>",[160,422,237],{"class":174},[160,424,205],{"class":170},[160,426,427],{"class":201},"join",[160,429,205],{"class":170},[160,431,178],{"class":170},[160,433,434],{"class":170}," ({",[160,436,244],{"class":243},[160,438,247],{"class":170},[160,440,250],{"class":221},[160,442,253],{"class":170},[160,444,446,448,450,452,454,456,458,461,463,466,468,470,473,475,477,479,481,483,485],{"class":162,"line":445},10,[160,447,259],{"class":174},[160,449,149],{"class":170},[160,451,264],{"class":234},[160,453,237],{"class":267},[160,455,144],{"class":174},[160,457,149],{"class":170},[160,459,460],{"class":174},"info",[160,462,149],{"class":170},[160,464,465],{"class":174},"user",[160,467,178],{"class":170},[160,469,198],{"class":170},[160,471,472],{"class":201},"joined",[160,474,205],{"class":170},[160,476,178],{"class":170},[160,478,244],{"class":174},[160,480,149],{"class":170},[160,482,274],{"class":174},[160,484,295],{"class":267},[160,486,208],{"class":170},[160,488,490,492,494],{"class":162,"line":489},11,[160,491,303],{"class":170},[160,493,295],{"class":174},[160,495,208],{"class":170},[160,497,499],{"class":162,"line":498},12,[160,500,215],{"emptyLinePlaceholder":214},[160,502,504,507,510],{"class":162,"line":503},13,[160,505,506],{"class":234},"off",[160,508,509],{"class":174},"()",[160,511,208],{"class":170},[160,513,515,518,520],{"class":162,"line":514},14,[160,516,517],{"class":234},"offJoin",[160,519,509],{"class":174},[160,521,208],{"class":170},[523,524,526],"h2",{"id":525},"connection","Connection",[528,529,530,546],"table",{},[531,532,533],"thead",{},[534,535,536,540,543],"tr",{},[537,538,539],"th",{},"Event",[537,541,542],{},"Helper",[537,544,545],{},"Payload",[547,548,549,573,593,617,637],"tbody",{},[534,550,551,557,562],{},[552,553,554],"td",{},[126,555,556],{},"connecting",[552,558,559],{},[126,560,561],{},"onConnecting",[552,563,564,566,567,566,569,572],{},[126,565,155],{},", ",[126,568,126],{},[126,570,571],{},"reason",". On the first connect and on every reconnect.",[534,574,575,580,585],{},[552,576,577],{},[126,578,579],{},"connected",[552,581,582],{},[126,583,584],{},"onConnected",[552,586,587,566,589,592],{},[126,588,155],{},[126,590,591],{},"client"," (client ID).",[534,594,595,600,605],{},[552,596,597],{},[126,598,599],{},"disconnected",[552,601,602],{},[126,603,604],{},"onDisconnected",[552,606,607,566,609,566,611,613,614,149],{},[126,608,155],{},[126,610,126],{},[126,612,571],{},". No more reconnects until ",[126,615,616],{},"connect()",[534,618,619,624,629],{},[552,620,621],{},[126,622,623],{},"error",[552,625,626],{},[126,627,628],{},"onError",[552,630,631,633,634,636],{},[126,632,623],{}," (text); ",[126,635,274],{}," too when a subscription failed.",[534,638,639,644,649],{},[552,640,641],{},[126,642,643],{},"need_token",[552,645,646],{},[126,647,648],{},"onNeedToken",[552,650,651,653,654,657,658,149],{},[126,652,155],{},". Answer with ",[126,655,656],{},"provideToken",", see ",[659,660,46],"a",{"href":47},[122,662,663,665,666,668,669,671,672,674,675,678,679,682,683,686,687,674,689,691,692,694],{},[126,664,155],{}," is the time of the event in ms since the epoch. ",[126,667,126],{},"\u002F",[126,670,571],{}," come from the SDK or the\nserver: ",[126,673,556],{}," with ",[126,676,677],{},"0"," (connect called), ",[126,680,681],{},"1"," (transport closed) or ",[126,684,685],{},"2"," (no ping);\n",[126,688,599],{},[126,690,677],{}," (disconnect called), ",[126,693,681],{}," (unauthorized) or a server disconnect code\n(3500+ means \"do not reconnect\").",[523,696,698],{"id":697},"client-side-subscriptions","Client-side subscriptions",[122,700,701,702,566,705,708,709,149],{},"Subscriptions made with ",[126,703,704],{},"channels",[126,706,707],{},"addSubscription"," or ",[126,710,711],{},"addSubscriptionWithOptions",[528,713,714,724],{},[531,715,716],{},[534,717,718,720,722],{},[537,719,539],{},[537,721,542],{},[537,723,545],{},[547,725,726,747,778,798,818,851],{},[534,727,728,733,738],{},[552,729,730],{},[126,731,732],{},"subscribing",[552,734,735],{},[126,736,737],{},"onSubscribing",[552,739,740,566,742,566,744,746],{},[126,741,274],{},[126,743,126],{},[126,745,571],{},". Also on resubscribe after a reconnect.",[534,748,749,754,759],{},[552,750,751],{},[126,752,753],{},"subscribed",[552,755,756],{},[126,757,758],{},"onSubscribed",[552,760,761,566,763,566,766,566,768,770,771,708,774,777],{},[126,762,274],{},[126,764,765],{},"wasRecovering",[126,767,283],{},[126,769,292],{}," (",[126,772,773],{},"{ offset, epoch }",[126,775,776],{},"null",").",[534,779,780,785,790],{},[552,781,782],{},[126,783,784],{},"unsubscribed",[552,786,787],{},[126,788,789],{},"onUnsubscribed",[552,791,792,566,794,566,796,149],{},[126,793,274],{},[126,795,126],{},[126,797,571],{},[534,799,800,805,810],{},[552,801,802],{},[126,803,804],{},"publication",[552,806,807],{},[126,808,809],{},"onPublication",[552,811,812],{},[659,813,815],{"href":814},"\u002Freference\u002Ftypes#publicationdata",[126,816,817],{},"PublicationData",[534,819,820,828,831],{},[552,821,822,824,825],{},[126,823,427],{}," \u002F ",[126,826,827],{},"leave",[552,829,830],{},"—",[552,832,833,566,835,770,837,566,839,566,841,566,844,847,848,149],{},[126,834,274],{},[126,836,460],{},[126,838,591],{},[126,840,465],{},[126,842,843],{},"connInfo",[126,845,846],{},"chanInfo","; the last two base64). Needs ",[126,849,850],{},"joinLeave: true",[534,852,853,858,863],{},[552,854,855],{},[126,856,857],{},"need_sub_token",[552,859,860],{},[126,861,862],{},"onNeedSubToken",[552,864,865,566,867,653,869,149],{},[126,866,274],{},[126,868,155],{},[126,870,871],{},"subRefresh",[523,873,875],{"id":874},"server-side-subscriptions","Server-side subscriptions",[122,877,878,879,881],{},"Channels the server subscribes the connection to (from the connection JWT ",[126,880,704],{}," claim or\nthe server config).",[528,883,884,894],{},[531,885,886],{},[534,887,888,890,892],{},[537,889,539],{},[537,891,542],{},[537,893,545],{},[547,895,896,909,922,935,953],{},[534,897,898,903,905],{},[552,899,900],{},[126,901,902],{},"server_subscribing",[552,904,830],{},[552,906,907],{},[126,908,274],{},[534,910,911,916,918],{},[552,912,913],{},[126,914,915],{},"server_subscribed",[552,917,830],{},[552,919,920],{},[126,921,274],{},[534,923,924,929,931],{},[552,925,926],{},[126,927,928],{},"server_unsubscribed",[552,930,830],{},[552,932,933],{},[126,934,274],{},[534,936,937,942,947],{},[552,938,939],{},[126,940,941],{},"server_publication",[552,943,944],{},[126,945,946],{},"onServerPublication",[552,948,949],{},[659,950,951],{"href":814},[126,952,817],{},[534,954,955,963,965],{},[552,956,957,824,960],{},[126,958,959],{},"server_join",[126,961,962],{},"server_leave",[552,964,830],{},[552,966,967,566,969,566,971],{},[126,968,274],{},[126,970,591],{},[126,972,465],{},[523,974,976],{"id":975},"publication-payload","Publication payload",[528,978,979,989],{},[531,980,981],{},[534,982,983,986],{},[537,984,985],{},"Field",[537,987,988],{},"Meaning",[547,990,991,1000,1013,1023,1033,1052,1062],{},[534,992,993,997],{},[552,994,995],{},[126,996,274],{},[552,998,999],{},"Channel of the publication.",[534,1001,1002,1007],{},[552,1003,1004],{},[126,1005,1006],{},"data",[552,1008,1009,1010,777],{},"The data, always base64 (",[126,1011,1012],{},"dataEncoding: 'base64'",[534,1014,1015,1020],{},[552,1016,1017],{},[126,1018,1019],{},"rawJson",[552,1021,1022],{},"The data parsed as JSON, when it is valid JSON.",[534,1024,1025,1030],{},[552,1026,1027],{},[126,1028,1029],{},"offset",[552,1031,1032],{},"Offset in the channel stream.",[534,1034,1035,1039],{},[552,1036,1037],{},[126,1038,460],{},[552,1040,1041,1042,566,1044,1046,1047,668,1049,1051],{},"Publisher (",[126,1043,591],{},[126,1045,465],{},", base64 ",[126,1048,843],{},[126,1050,846],{},"), when the server sends it.",[534,1053,1054,1059],{},[552,1055,1056],{},[126,1057,1058],{},"tags",[552,1060,1061],{},"Publication tags.",[534,1063,1064,1069],{},[552,1065,1066],{},[126,1067,1068],{},"timestamp",[552,1070,1071],{},"Publication time from the server, else arrival time (ms).",[523,1073,1075],{"id":1074},"decoded-message-helpers","Decoded message helpers",[122,1077,1078,1079,1081,1082,1084],{},"These listen to ",[126,1080,804],{}," and give the data already decoded: ",[126,1083,1019],{}," if present, else the\nbase64 decoded as JSON, else the base64 string as is. The callback gets the data, not the Tauri\nevent.",[528,1086,1087,1096],{},[531,1088,1089],{},[534,1090,1091,1093],{},[537,1092,542],{},[537,1094,1095],{},"Callback gets",[547,1097,1098,1110,1122,1138,1150,1162,1180],{},[534,1099,1100,1105],{},[552,1101,1102],{},[126,1103,1104],{},"onMessage(cb)",[552,1106,1107],{},[126,1108,1109],{},"{ channel, data }",[534,1111,1112,1117],{},[552,1113,1114],{},[126,1115,1116],{},"onChannelMessage(channel, cb)",[552,1118,1119,1121],{},[126,1120,1006],{}," of one channel",[534,1123,1124,1129],{},[552,1125,1126],{},[126,1127,1128],{},"onAnyMessage(cb)",[552,1130,1131,770,1134,1137],{},[126,1132,1133],{},"{ channel, data, timestamp }",[126,1135,1136],{},"Date.now()"," on arrival)",[534,1139,1140,1145],{},[552,1141,1142],{},[126,1143,1144],{},"onPublicationRawJson(cb)",[552,1146,1147,1149],{},[126,1148,1109],{},", only for JSON data",[534,1151,1152,1157],{},[552,1153,1154],{},[126,1155,1156],{},"onServerPublicationRawJson(cb)",[552,1158,1159,1160],{},"Same for ",[126,1161,941],{},[534,1163,1164,1169],{},[552,1165,1166],{},[126,1167,1168],{},"helpers.subscribeToChannel(channel, cb)",[552,1170,1171,1173,1174,1177,1178],{},[126,1172,707],{}," + ",[126,1175,1176],{},"onChannelMessage","; resolves to the ",[126,1179,148],{},[534,1181,1182,1187],{},[552,1183,1184],{},[126,1185,1186],{},"helpers.subscribeToChannels(channels, cb)",[552,1188,1189,1190,1192,1193],{},"Same for several channels; ",[126,1191,1109],{},", an array of ",[126,1194,148],{},[122,1196,1197,1198,1201],{},"Unlistening does not unsubscribe; call ",[126,1199,1200],{},"removeSubscription"," for that.",[1203,1204,1205],"note",{},[122,1206,1207,1208,1210,1211,1214,1215,149],{},"In 0.2.0 the ",[126,1209,132],{}," callbacks got only the payload, so these helpers threw on every publication.\nThis is fixed after 0.2.0; code written for 0.2.0 that reads ",[126,1212,1213],{},"e.channel"," should read ",[126,1216,1217],{},"e.payload.channel",[1219,1220,1221],"style",{},"html pre.shiki code .s7zQu, html code.shiki .s7zQu{--shiki-light:#39ADB5;--shiki-light-font-style:italic;--shiki-default:#89DDFF;--shiki-default-font-style:italic;--shiki-dark:#89DDFF;--shiki-dark-font-style:italic}html pre.shiki code .sMK4o, html code.shiki .sMK4o{--shiki-light:#39ADB5;--shiki-default:#89DDFF;--shiki-dark:#89DDFF}html pre.shiki code .sTEyZ, html code.shiki .sTEyZ{--shiki-light:#90A4AE;--shiki-default:#EEFFFF;--shiki-dark:#BABED8}html pre.shiki code .sfazB, html code.shiki .sfazB{--shiki-light:#91B859;--shiki-default:#C3E88D;--shiki-dark:#C3E88D}html pre.shiki code .spNyl, html code.shiki .spNyl{--shiki-light:#9C3EDA;--shiki-default:#C792EA;--shiki-dark:#C792EA}html pre.shiki code .s2Zo4, html code.shiki .s2Zo4{--shiki-light:#6182B8;--shiki-default:#82AAFF;--shiki-dark:#82AAFF}html pre.shiki code .sHdIc, html code.shiki .sHdIc{--shiki-light:#90A4AE;--shiki-light-font-style:italic;--shiki-default:#EEFFFF;--shiki-default-font-style:italic;--shiki-dark:#BABED8;--shiki-dark-font-style:italic}html pre.shiki code .swJcz, html code.shiki .swJcz{--shiki-light:#E53935;--shiki-default:#F07178;--shiki-dark:#F07178}html pre.shiki code .sHwdD, html code.shiki .sHwdD{--shiki-light:#90A4AE;--shiki-light-font-style:italic;--shiki-default:#546E7A;--shiki-default-font-style:italic;--shiki-dark:#676E95;--shiki-dark-font-style:italic}html pre.shiki code .sBMFI, html code.shiki .sBMFI{--shiki-light:#E2931D;--shiki-default:#FFCB6B;--shiki-dark:#FFCB6B}html .light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html.light .shiki span {color: var(--shiki-light);background: var(--shiki-light-bg);font-style: var(--shiki-light-font-style);font-weight: var(--shiki-light-font-weight);text-decoration: var(--shiki-light-text-decoration);}html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html.dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}",{"title":156,"searchDepth":211,"depth":218,"links":1223},[1224,1225,1226,1227,1228],{"id":525,"depth":211,"text":526},{"id":697,"depth":211,"text":698},{"id":874,"depth":211,"text":875},{"id":975,"depth":211,"text":976},{"id":1074,"depth":211,"text":1075},"Every centrifugo:* event, its payload, and the listener helpers.","md",null,{},{"title":38,"description":1229},"OyzVQf_2VXJtp4iHNATMkxDnzLFceqGcZWUhy58OiAE",[1236,1238],{"title":34,"path":35,"stem":36,"description":1237,"children":-1},"Calling the server - publish, RPC, async send, history, presence and presence stats.",{"title":42,"path":43,"stem":44,"description":1239,"children":-1},"Client-side subscriptions with options - recovery, resume from a position, delta compression, join\u002Fleave.",1794166801300]