Module

Bucketchain.SimpleAPI.Action

Package
purescript-bucketchain-simple-api
Repository
Bucketchain/purescript-bucketchain-simple-api

#Context Source

newtype Context ex

This is for internal. Do not use it.

Instances

#Action Source

newtype Action ex a

The type of request handler.

Instances

#askExtra Source

askExtra :: forall ex. Action ex ex

Get global context.

#askRaw Source

askRaw :: forall ex. Action ex RawData

Get RawData.

#runAction Source

runAction :: forall a ex. Action ex a -> Context ex -> Aff a

This is for internal. Do not use it.

#context Source

context :: forall ex. ex -> RawData -> Context ex

This is for internal. Do not use it.