Skip to content

Conversation

@azu
Copy link
Owner

@azu azu commented Sep 17, 2015

#22 の仕組みを解説するための実装。

  • 入力は何でもいい object.valueとなるように制限した
  • 出力も何でもいい objectとなるようにした
  • middlewareはnextを受け取りnextを呼び出したら次へ
  • ErrorHandlingが登録順に依存してる -> Connectもそうだった(最後にエラーハンドリングする)
  • nextを呼び出さなかったら? -> 止まる -> Connectもそうだった
  • 文章での解説

Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ミドルウェア…

azu added a commit that referenced this pull request Sep 19, 2015
@azu azu merged commit d14ddf5 into master Sep 19, 2015
@azu azu deleted the connect-like branch September 19, 2015 02:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants