Adapter-Async

 view release on metacpan or  search on metacpan

Changes  view on Meta::CPAN

19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
        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

20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
 package Some::Class;
  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.754 second using v1.01-cache-2.11-cpan-3cd7ad12f66 )