Files: 581254ceab1c7f5bcd943eb7f7393dfba611529c / app / sync / initialise / suggestionCaches.js
341 bytesRaw
1 | const nest = require('depnest') |
2 | |
3 | exports.gives = nest('app.sync.initialise') |
4 | |
5 | exports.needs = nest({ |
6 | 'about.async.suggest': 'first', |
7 | 'channel.async.suggest': 'first' |
8 | }) |
9 | |
10 | exports.create = function (api) { |
11 | return nest('app.sync.initialise', init) |
12 | |
13 | function init () { |
14 | api.about.async.suggest() |
15 | api.channel.async.suggest() |
16 | } |
17 | } |
18 |
Built with git-ssb-web