Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

use redis in adonis

'use strict'

const Redis = use('Redis')

Redis.subscribe('music', async (track) => {
  console.log('received track', track)
})
Source by legacy.adonisjs.com #
 
PREVIOUS NEXT
Tagged: #redis #adonis
ADD COMMENT
Topic
Name
8+2 =