The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

Promises6::Builder - A builder for promises

VERSION

version 0.003

SYNOPSIS

  use Promises6::Builder;
  use Evo::Base -strict;

  my $bldr = Promises6::Builder->new;
  my $d    = $bldr->deferred;
  my $p    = $bldr->promise;

DESCRIPTION

  This module is for internal usage only and should be used directly

ATTRIBUTES

listener_class =attr promise_class =attr deferred_class =attr resolver_class

  Classes for instances that will be builded

listener

  Build and caches a listener

METHODS

promise

  Builds a promise

deferred

  Builds a deferred instance

listener

  Builds a listener

resolver

  Builds a resolver

singleton

  Build a singleton - the same instance will be returned between invocations

AUTHOR

alexbyk <alexbyk.com>

COPYRIGHT AND LICENSE

This software is copyright (c) 2015 by alexbyk.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.