Middleware import Middeware from "middleware" const middeware = new Middeware() const ctx = {} middeware.use(async(ctx,next)=>{ }).run(ctx).then((ctx)=>{ })