@@ -672,7 +672,7 @@ suspend fun Context.doSomething(): String {
672672A coroutine works like any of the other non-blocking types. You start Jooby using the **event loop**
673673or **default mode**, Jooby creates a coroutine context to execute it.
674674
675- Jooby uses the *worker executor* to creates a coroutine context. As described in <<worker-executor, worker executor section>>
675+ Jooby uses the *worker executor* to creates a coroutine context. As described in <<execution-model- worker-executor, worker executor section>>
676676this is provided by the web server implementation unless you provided your own.
677677
678678.Coroutines with custom executor:
@@ -695,7 +695,7 @@ this is provided by the web server implementation unless you provided your own.
695695<2> Call a suspending function
696696<3> Produces a response
697697
698- Coroutines always run in the <<worker-executor, worker executor>>. There is an experimental API where
698+ Coroutines always run in the <<execution-model- worker-executor, worker executor>>. There is an experimental API where
699699coroutines run in the *caller thread*(event loop in this case) until a suspending function is found.
700700
701701Jooby allows you to use this experimental API by setting the `coroutineStart` option:
@@ -773,10 +773,10 @@ Family of send methods include:
773773
774774- javadoc:Context[send, byte[\]]
775775- javadoc:Route[consumes, io.jooby.MediaType...]
776- - javadoc:Context[send, java.nio.Buffer]
776+ // Code review comment: is this supposed to be jooby databuffer or nio bytebuffer
777+ - javadoc:Context[send, java.nio.ByteBuffer]
777778- javadoc:Context[send, java.lang.String]
778779- javadoc:Context[send, java.nio.file.Path]
779- - javadoc:Context[send, java.io.File]
780780- javadoc:Context[send, java.nio.channels.FileChannel]
781781- javadoc:Context[send, io.jooby.FileDownload]
782782- javadoc:Context[send, io.jooby.StatusCode]
0 commit comments