How can I make this code works with http4s ?
def backend[I, O](route:
ServerEndpoint[Any, scala.concurrent.Future] {
type SECURITY_INPUT = Unit;
type PRINCIPAL = Unit;
type INPUT = I;
type ERROR_OUTPUT = String;
type OUTPUT = O
}
) =
TapirStubInterpreter(SttpBackendStub.asynchronousFuture)
.whenServerEndpoint(route)
.thenRunLogic()
.backend()
problem is with Future, but I don´t know how to change de Effect