Adapter-Async

 view release on metacpan or  search on metacpan

Changes  view on Meta::CPAN


	Test fixes:
	* Missed a defer_methods override in model.t, was failing without Check::UnitCheck

0.016     2015-03-06 16:15:29+00:00 Europe/London

0.015     2015-03-06 15:11:54+00:00 Europe/London
	No new features.

	Dependency fixes:
	* Include Variable::Disposition and only run UNITCHECK tests when Check::UnitCheck is installed
	(RT102513)

0.014     2015-03-04 17:05:00+00:00 Europe/London
	Features:
	* Adapter::Async::Model

0.013     2015-02-11 22:10:56+00:00 Europe/London
	Features:
	* ->range for retrieving available results from an OrderedList when actual size is not
	yet known.

lib/Adapter/Async/Model.pm  view on Meta::CPAN


 package Some::Class;
 use Adapter::Async::Model {
  some_thing => 'string',
  some_array => {
   collection => 'OrderedList',
   type => '::Thing',
  }
 };

Note that methods are applied via a UNITCHECK block by default.

=cut

use Log::Any qw($log);

use Future;

use Module::Load;
use Data::Dumper;
use Variable::Disposition qw(retain_future);

=head2 import

=over 4

=item * defer_methods - if true (default), this will delay creation of methods such as C<new> using a UNITCHECK block, pass defer_methods => 0 to disable this and create the methods immediately

=item * model_base - the base class to prepend when types are specified with a leading ::

=back

=cut

my %defined;

sub import {



( run in 1.330 second using v1.01-cache-2.11-cpan-702932259ff )