package Adapter::Async;
# ABSTRACT: common API for linking data sources and views
use strict;
use warnings;

our $VERSION = '0.019';

=head1 NAME

Adapter::Async - provides a way to link a data source with a view

=head1 VERSION

version 0.018


C<WARNING> - this is extremely experimental and utterly unoptimised.
Expect the API to change between versions until this reaches 1.0+.
Primarily being released to allow work to continue on various L<Tickit>
widgets and web framework components.


use Future;
use curry;

use Adapter::Async::Bus;

=head1 METHODS


=head2 new

Instantiate, applying any parameters directly to the instance hashref.


sub new {
	my $class = shift;
	bless { @_ }, $class

=head2 bus

Accessor for the L<Adapter::Async::Bus> instance, will create one as


sub bus { shift->{bus} ||= Adapter::Async::Bus->new }



=head1 AUTHOR

Tom Molesworth <>

=head1 LICENSE

Copyright Tom Molesworth 2013-2015. Licensed under the same terms as Perl itself.