03 May 2006 14:10:53 UTC
- Distribution: Catalyst-Plugin-Continuation
- Source (raw)
- Browse (raw)
- How to Contribute
- Issues (1)
- Testers (2 / 507 / 0)
- KwaliteeBus factor: 7
- 75.00% Coverage
- License: perl_5
- Activity24 month
- Download (8.92KB)
- MetaCPAN Explorer
- Subscribe to distribution
- This version
- Latest versionNUFFIN יובל קוג'מן (Yuval Kogman)and 1 contributors
- Sebastian Riedel, C Yuval Kogman, C<firstname.lastname@example.org>
- 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
$cobject to be specified.
Returns a hash ref that can be serialized. This is required for serialization due to the fact that
$cis 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_callerfor 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
$cobject 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
$cas 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
Module Install Instructions
To install Catalyst::Plugin::Continuation, copy and paste the appropriate command in to your terminal.
perl -MCPAN -e shell install Catalyst::Plugin::Continuation
For more information on module installation, please visit the detailed CPAN module installation guide.