diff --git a/lib/Travel/Status/DE/IRIS.pm b/lib/Travel/Status/DE/IRIS.pm index 8f6e46137353109e5d288dec73037715673da328..459b07a338513589d07c8cf8cc8f0863eb525b6b 100644 --- a/lib/Travel/Status/DE/IRIS.pm +++ b/lib/Travel/Status/DE/IRIS.pm @@ -940,7 +940,7 @@ Blocking variant: ); } -Non-blocking variant: +Non-blocking variant (EXPERIMENTAL): use Mojo::Promise; use Mojo::UserAgent; @@ -1072,10 +1072,11 @@ departures for all related stations. =back -=item my $promise = Travel::Status::DE::IRIS->new_p(I<%opt>) +=item my $promise = Travel::Status::DE::IRIS->new_p(I<%opt>) (B) Return a promise yielding a Travel::Status::DE::IRIS instance (C<< $status >>) on success, or an error message (same as C<< $status->errstr >>) on failure. +This function is experimental and may be changed or remove without warning. In addition to the arguments of B, the following mandatory arguments must be set: