- SAVED FIELDS
Catalyst::Continuation - Pseudo-continuation objects for Catalyst
This object is returned by the "cont" in Catalyst::Plugin::Continuation method. It captures the current state of execution within the context object as best as it can, within the limitations perl and Perl.
Please do not try to construct it directly.
Create a continuation
Restore a continuation. Takes a value as returned by
as_hashref. Requires the
$c object to be specified.
Returns a hash ref that can be serialized. This is required for serialization due to the fact that
$c is different between requests.
Create the structure that shadows
$c's fields. Suitable for passing to
The ID of this continuation.
Invoke the continuation, localizing the whole $c object to what it was when the continuation was created, and calling the ->forward.
forward_to_caller for what happens once this is done.
This method will return a URI that will cause the continuation to be reinvoked.
It automatically calls
save_in_store, in order to allow this continuation to be invoked from different requests.
This method causes the continuation to ask the
$c object to save it somewhere. This is handled by Catalyst::Plugin::Continuation, and any overrides that may have been added.
The inverse of
Which method to invoke on
$c as the continuation.
The argumetns to pass to
method. This is an array reference, typically containing the string of the path to forward to.
Whether or not to ->forward back to the action that created the continuation. This defaults to true when a continuation is being restored from storage in a new request, and defaults to false otherwise.
When false nothing happens. When true defaults to a regular forward. When any string, invokes that method.
Whether or not a continuation should delete itself after being executed.
Defaults to true.
This is thte Moose meta class instance for the continuation's class.
These two fields are used internally to integrate the continuation with the current request.
These paramters contain the collected data. You may use this as a reference to find out what is saved/restored when a continuation is created/executed.
These correspond to the methods/fields of $c.
The last element on