Created
October 30, 2018 19:17
-
-
Save jjn1056/7da20d97228cfe6fd87d33f6cb2a461c to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
my $schema = MyApp::Schema->connect(...); | |
my $user_rs = $schema->resultset('User'); | |
my @results = $user_rs | |
->ready_p(sub { | |
my ($rs) = @_; | |
$rs->search({id=>1}) | |
})->then(...) | |
->await; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment