pull/1/head
Caleb James DeLisle 7 years ago
parent 88f3e730b9
commit b3a873bbc9

@ -387,11 +387,15 @@ export type ChainPadServer_Storage_t = {
getChannelMetadata: (channelName:string, cb:(err:?Error|string, data:?any)=>void)=>void, getChannelMetadata: (channelName:string, cb:(err:?Error|string, data:?any)=>void)=>void,
clearChannel: (channelName:string, (err:?Error)=>void)=>void clearChannel: (channelName:string, (err:?Error)=>void)=>void
}; };
const flow_Config = require('../config.example.js'); export type ChainPadServer_Config_t = {
type Config_t = typeof(flow_Config); verbose?: boolean,
filePath?: string,
channelExpirationMs?: number,
openFileLimit?: number
};
*/ */
module.exports.create = function ( module.exports.create = function (
conf /*:Config_t*/, conf /*:ChainPadServer_Config_t*/,
cb /*:(store:ChainPadServer_Storage_t)=>void*/ cb /*:(store:ChainPadServer_Storage_t)=>void*/
) { ) {
var env = { var env = {

Loading…
Cancel
Save