1 package System::Introspector::Gatherer::Bridge;
3 use Object::Remote::Future;
6 has remote_spec => (is => 'ro', required => 1);
7 has remote_class => (is => 'ro', required => 1);
8 has remote_args => (is => 'ro', required => 1);
9 has remote => (is => 'lazy');
13 return $self->remote_class
14 ->new::on($self->remote_spec, $self->remote_args);
17 sub gather { (shift)->remote->gather(@_) }