update.js
/*      outcome/
 * Get the writeable shard of the
 * log for us (creating if not
 * already present).
 */
outcome
Get the writeable shard of the
log for us (creating if not
already present).
outcome Get the writeable shard of the log for us ( creating if not already present ) .
function alwaysGetShard(writer, log) {
    let shard = log.shards[writer]
    if(shard) return shard
    shard = ds.shard(log.name, writer)
    log.shards[writer] = shard
    return shard
}
function alwaysGetShard ( writer , log ) { let shard = log . shards [ writer ] if ( shard ) return shard shard = ds . shard ( log . name , writer ) log . shards [ writer ] = shard return shard }
outcome
 Get the writeable shard of the
 log for us (creating if not
 already present).
outcome Get the writeable shard of the log for us ( creating if not already present ) .