Simple

abstract
class Simple[Event, Result](implicit decoder: Decoder[Event], encoder: Encoder[Result]) extends IOLambda[Event, Result]
class IOLambda[Event, Result]
trait IOSetup
class IOLambdaPlatform[Event, Result]
trait RequestStreamHandler
class Object
trait Matchable
class Any

Type members

Types

type Init

Inherited types

final
type Setup = (Event, Context[IO]) => IO[Option[Result]]
Inherited from
IOLambda

Value members

Abstract methods

def apply(event: Event, context: Context[IO], init: Init): IO[Option[Result]]

Concrete methods

final
def handler: Resource[IO, LambdaEnv[IO, Event] => IO[Option[Result]]]
def init: Resource[IO, Init]

Inherited methods

final
def handleRequest(input: InputStream, output: OutputStream, context: Context): Unit
Inherited from
IOLambdaPlatform
protected
def runtime: IORuntime
Inherited from
IOSetup