+doc,htp #19896 directives for RequestTimeout and docs
This commit is contained in:
parent
27c004d274
commit
2d7d24dee6
24 changed files with 523 additions and 70 deletions
13
akka-docs/rst/scala/code/docs/CompileOnlySpec.scala
Normal file
13
akka-docs/rst/scala/code/docs/CompileOnlySpec.scala
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
/*
|
||||
* Copyright (C) 2009-2016 Lightbend Inc. <http://www.lightbend.com>
|
||||
*/
|
||||
|
||||
package docs
|
||||
|
||||
trait CompileOnlySpec {
|
||||
/**
|
||||
* Given a block of code... does NOT execute it.
|
||||
* Useful when writing code samples in tests, which should only be compiled.
|
||||
*/
|
||||
def compileOnlySpec(body: => Unit) = ()
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue