package core.interceptor

import scala.concurrent.Future

trait Interceptor[T] {
  def handle(ctx: T): Future[T]
}
package core.interceptor

import scala.concurrent.Future

trait Interceptor[A, B] {
  def handle(ctx: A): Future[Either[B, Option[A]]]
}
Modify the trait interceptor for result
Modify the trait interceptor for result
