final review comments
- make it EXPERIMENTAL - shuffle docs around to be less scary - reuse sameThreadExecutionContext in CircuitBreaker - typos
This commit is contained in:
parent
1b331dc547
commit
b127ab0d4f
5 changed files with 240 additions and 222 deletions
|
|
@ -151,11 +151,10 @@ object Helpers {
|
|||
|
||||
final def unwrapMsgType(u: Universe)(msg: u.Type): u.Type = {
|
||||
import u._
|
||||
if (msg <:< typeOf[WrappedMessage[_, _]])
|
||||
msg match {
|
||||
case TypeRef(_, _, x :: _) ⇒ x
|
||||
}
|
||||
else msg
|
||||
msg match {
|
||||
case TypeRef(_, _, x :: _) if msg <:< typeOf[WrappedMessage[_, _]] ⇒ x
|
||||
case x ⇒ x
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue