April 2020
Intermediate to advanced
292 pages
6h 50m
English
The subscription code falls into three categories:
The subscription code will use the Message Store for all of its data storage so you’ll get more practice writing to and reading from the store.
Before diving into these categories, let’s tour the basic shape of the subscription code. It’s found in video-tutorials/src/message-store/subscribe.js:
| | const Bluebird = require('bluebird') |
| | const uuid = require('uuid/v4') |
| | |
| | const category = require('./category') |
| | |
| | function configureCreateSubscription ({ read, readLastMessage, write }) ... |
Read now
Unlock full access