with-exit-continuation ( quot -- value )
Furnace framework ยป Miscellaneous Furnace features

Prev:resolve-template-path ( pair -- path )
Next:exit-with ( value -- * )


Vocabulary
furnace.utilities

Inputs
quota quotation with stack effect ( -- value )


Outputs
valuea value returned by the quotation or an exit-with invocation


Word description
Runs a quotation with the exit-continuation variable bound. Calling exit-with in the quotation will immediately return.

Notes
Furnace actions and authentication realms wrap their execution in this combinator, allowing form validation failures and login requests, respectively, to immediately return an HTTP response to the client without running any more responder code.

Definition