[{"data":1,"prerenderedAt":360},["ShallowReactive",2],{"catalog-module-redis":3},{"id":4,"category":5,"description":7,"documentation":8,"extension":9,"github":8,"icon":10,"interface":11,"meta":14,"name":12,"npm":15,"official":16,"repo":17,"sponsor":18,"stem":19,"__hash__":20,"stars":21,"downloads":22,"readme":23},"modules\u002Fcontent\u002Fmodules\u002Fredis.yml",[6],"Cache","Redis client module with scheduling capabilities","https:\u002F\u002Fgithub.com\u002FAntelopeJS\u002Fredis","yml","\u002Ficons\u002Fantelope.svg",[12,13],"redis","redis-scheduler",{},"@antelopejs\u002Fredis",true,"antelopejs\u002Fredis",false,"content\u002Fmodules\u002Fredis","hjZT9K7HxVCKa6VftplkIwZ_0o09o-IF8bph3ewCdLA",2,102,{"data":24,"body":26,"toc":346},{"title":25,"description":25},"",{"type":27,"children":28},"root",[29,40,47,89,94,101,111,117,122,148,153,233,239,244,257,263,268,276,283,288,309,315,320,328,333],{"type":30,"tag":31,"props":32,"children":33},"element","p",{},[34],{"type":30,"tag":35,"props":36,"children":39},"img",{"alt":37,"src":38},"Redis","https:\u002F\u002Fraw.githubusercontent.com\u002Fantelopejs\u002Fredis\u002Fmain\u002F.github\u002Fsocial-card.png",[],{"type":30,"tag":41,"props":42,"children":44},"h2",{"id":43},"antelopejsredis",[45],{"type":46,"value":15},"text",{"type":30,"tag":48,"props":49,"children":51},"div",{"align":50},"center",[52,62,71,80],{"type":30,"tag":53,"props":54,"children":56},"a",{"href":55},"https:\u002F\u002Fwww.npmjs.com\u002Fpackage\u002F@antelopejs\u002Fredis",[57],{"type":30,"tag":35,"props":58,"children":61},{"alt":59,"src":60},"NPM version","https:\u002F\u002Fimg.shields.io\u002Fnpm\u002Fv\u002F@antelopejs\u002Fredis.svg?style=for-the-badge&labelColor=000000",[],{"type":30,"tag":53,"props":63,"children":65},{"href":64},".\u002FLICENSE",[66],{"type":30,"tag":35,"props":67,"children":70},{"alt":68,"src":69},"License","https:\u002F\u002Fimg.shields.io\u002Fnpm\u002Fl\u002F@antelopejs\u002Fredis.svg?style=for-the-badge&labelColor=000000",[],{"type":30,"tag":53,"props":72,"children":74},{"href":73},"https:\u002F\u002Fdiscord.gg\u002FsjK28QHrA7",[75],{"type":30,"tag":35,"props":76,"children":79},{"src":77,"alt":78},"https:\u002F\u002Fimg.shields.io\u002Fbadge\u002FDiscord-18181B?logo=discord&style=for-the-badge&color=000000","Discord",[],{"type":30,"tag":53,"props":81,"children":83},{"href":82},"https:\u002F\u002Fantelopejs.com\u002Fmodules\u002Fredis",[84],{"type":30,"tag":35,"props":85,"children":88},{"src":86,"alt":87},"https:\u002F\u002Fimg.shields.io\u002Fbadge\u002FDocs-18181B?style=for-the-badge&color=000000","Documentation",[],{"type":30,"tag":31,"props":90,"children":91},{},[92],{"type":46,"value":93},"A Redis client module that implements the Redis and Redis Scheduler interfaces for AntelopeJS.",{"type":30,"tag":95,"props":96,"children":98},"h3",{"id":97},"installation",[99],{"type":46,"value":100},"Installation",{"type":30,"tag":102,"props":103,"children":104},"pre",{},[105],{"type":30,"tag":106,"props":107,"children":108},"code",{},[109],{"type":46,"value":110},"ajs project modules add @antelopejs\u002Fredis\n",{"type":30,"tag":95,"props":112,"children":114},{"id":113},"interfaces",[115],{"type":46,"value":116},"Interfaces",{"type":30,"tag":31,"props":118,"children":119},{},[120],{"type":46,"value":121},"This module implements two key interfaces:",{"type":30,"tag":123,"props":124,"children":125},"ul",{},[126,138],{"type":30,"tag":127,"props":128,"children":129},"li",{},[130,136],{"type":30,"tag":131,"props":132,"children":133},"strong",{},[134],{"type":46,"value":135},"Redis Interface",{"type":46,"value":137},": Promise-based Redis client with key-value operations and pub\u002Fsub messaging.",{"type":30,"tag":127,"props":139,"children":140},{},[141,146],{"type":30,"tag":131,"props":142,"children":143},{},[144],{"type":46,"value":145},"Redis Scheduler Interface",{"type":46,"value":147},": Redis-based distributed task scheduler with job queuing and automatic retries.",{"type":30,"tag":31,"props":149,"children":150},{},[151],{"type":46,"value":152},"Both interfaces can be used independently or together depending on your application's needs. The interfaces are installed separately to maintain modularity and minimize dependencies.",{"type":30,"tag":154,"props":155,"children":156},"table",{},[157,179],{"type":30,"tag":158,"props":159,"children":160},"thead",{},[161],{"type":30,"tag":162,"props":163,"children":164},"tr",{},[165,171,176],{"type":30,"tag":166,"props":167,"children":168},"th",{},[169],{"type":46,"value":170},"Name",{"type":30,"tag":166,"props":172,"children":173},{},[174],{"type":46,"value":175},"Install command",{"type":30,"tag":166,"props":177,"children":178},{},[],{"type":30,"tag":180,"props":181,"children":182},"tbody",{},[183,208],{"type":30,"tag":162,"props":184,"children":185},{},[186,191,200],{"type":30,"tag":187,"props":188,"children":189},"td",{},[190],{"type":46,"value":37},{"type":30,"tag":187,"props":192,"children":193},{},[194],{"type":30,"tag":106,"props":195,"children":197},{"className":196},[],[198],{"type":46,"value":199},"ajs module imports add redis",{"type":30,"tag":187,"props":201,"children":202},{},[203],{"type":30,"tag":53,"props":204,"children":206},{"href":205},"https:\u002F\u002Fgithub.com\u002FAntelopeJS\u002Finterface-redis",[207],{"type":46,"value":87},{"type":30,"tag":162,"props":209,"children":210},{},[211,216,225],{"type":30,"tag":187,"props":212,"children":213},{},[214],{"type":46,"value":215},"Redis Scheduler",{"type":30,"tag":187,"props":217,"children":218},{},[219],{"type":30,"tag":106,"props":220,"children":222},{"className":221},[],[223],{"type":46,"value":224},"ajs module imports add redis_scheduler",{"type":30,"tag":187,"props":226,"children":227},{},[228],{"type":30,"tag":53,"props":229,"children":231},{"href":230},"https:\u002F\u002Fgithub.com\u002FAntelopeJS\u002Finterface-redis-scheduler",[232],{"type":46,"value":87},{"type":30,"tag":95,"props":234,"children":236},{"id":235},"overview",[237],{"type":46,"value":238},"Overview",{"type":30,"tag":31,"props":240,"children":241},{},[242],{"type":46,"value":243},"The AntelopeJS Redis module provides functionality for interacting with Redis:",{"type":30,"tag":123,"props":245,"children":246},{},[247,252],{"type":30,"tag":127,"props":248,"children":249},{},[250],{"type":46,"value":251},"Redis client connection management",{"type":30,"tag":127,"props":253,"children":254},{},[255],{"type":46,"value":256},"Task scheduling with retry capabilities",{"type":30,"tag":95,"props":258,"children":260},{"id":259},"configuration",[261],{"type":46,"value":262},"Configuration",{"type":30,"tag":31,"props":264,"children":265},{},[266],{"type":46,"value":267},"The Redis module can be configured with standard Redis client options:",{"type":30,"tag":102,"props":269,"children":270},{},[271],{"type":30,"tag":106,"props":272,"children":273},{},[274],{"type":46,"value":275},"{\n  \"url\": \"redis:\u002F\u002Flocalhost:6379\",\n  \"lazyConnect\": true\n}\n",{"type":30,"tag":277,"props":278,"children":280},"h4",{"id":279},"configuration-details",[281],{"type":46,"value":282},"Configuration Details",{"type":30,"tag":31,"props":284,"children":285},{},[286],{"type":46,"value":287},"The module accepts the following configuration properties:",{"type":30,"tag":123,"props":289,"children":290},{},[291,304],{"type":30,"tag":127,"props":292,"children":293},{},[294,296,302],{"type":46,"value":295},"All standard Redis client options from the ",{"type":30,"tag":106,"props":297,"children":299},{"className":298},[],[300],{"type":46,"value":301},"ioredis",{"type":46,"value":303}," package",{"type":30,"tag":127,"props":305,"children":306},{},[307],{"type":46,"value":308},"Supports all connection methods including URL string, socket options, etc.",{"type":30,"tag":95,"props":310,"children":312},{"id":311},"integration-with-other-modules",[313],{"type":46,"value":314},"Integration with Other Modules",{"type":30,"tag":31,"props":316,"children":317},{},[318],{"type":46,"value":319},"The Redis module is designed to be used as a dependency for other AntelopeJS modules:",{"type":30,"tag":102,"props":321,"children":322},{},[323],{"type":30,"tag":106,"props":324,"children":325},{},[326],{"type":46,"value":327},"\u002F\u002F Example of another module depending on Redis\nimport { GetClient } from '@ajs\u002Fredis\u002Fbeta';\n\nasync function storeValueInRedis(key: string, value: string) {\n  const client = await GetClient();\n  await client.set(key, value);\n}\n",{"type":30,"tag":95,"props":329,"children":331},{"id":330},"license",[332],{"type":46,"value":68},{"type":30,"tag":31,"props":334,"children":335},{},[336,338,344],{"type":46,"value":337},"This project is licensed under the Apache License 2.0 - see the ",{"type":30,"tag":53,"props":339,"children":341},{"href":340},"https:\u002F\u002Fraw.githubusercontent.com\u002Fantelopejs\u002Fredis\u002Fmain\u002FLICENSE",[342],{"type":46,"value":343},"LICENSE",{"type":46,"value":345}," file for details.",{"title":25,"searchDepth":347,"depth":347,"links":348},3,[349],{"id":43,"depth":21,"text":15,"children":350},[351,352,353,354,358,359],{"id":97,"depth":347,"text":100},{"id":113,"depth":347,"text":116},{"id":235,"depth":347,"text":238},{"id":259,"depth":347,"text":262,"children":355},[356],{"id":279,"depth":357,"text":282},4,{"id":311,"depth":347,"text":314},{"id":330,"depth":347,"text":68},1786370698368]