xieda

Results 3 comments of xieda

In our case, it happens when we use async_hooks and sequelize at the same time. At the async_hooks part, we need to use it to pass the ctx, so there...

An example without sequelize. ```js const { AsyncLocalStorage } = require('async_hooks') const _ = require('lodash') const Koa = require('koa') const localStorage = new AsyncLocalStorage(); const app = new Koa(); app.use((ctx,...

作为一个 Jser,以前从未见过那样的语法,所以选 A 或选 B 都可能是对的 As a Jser, I have never seen such a grammar before, so choosing either A or B may be right 作为一个 Javaer,我们习惯于这么定义成员变量 As a...