From f930d71434ec9ce60b81a98b02d3c25155c95dfc Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Sun, 30 Jan 2022 17:54:22 +0100 Subject: Note that new_p is experimental --- lib/Travel/Status/DE/IRIS.pm | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/lib/Travel/Status/DE/IRIS.pm b/lib/Travel/Status/DE/IRIS.pm index 8f6e461..459b07a 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: -- cgit v1.2.3