diff options
author | Daniel Friesel <derf@finalrewind.org> | 2022-01-30 17:54:22 +0100 |
---|---|---|
committer | Daniel Friesel <derf@finalrewind.org> | 2022-01-30 17:54:22 +0100 |
commit | f930d71434ec9ce60b81a98b02d3c25155c95dfc (patch) | |
tree | f8f1df0b850d4c7ab410b6a478eaaf7bdb502e12 /lib/Travel/Status/DE | |
parent | f4c810aedc5679e68fb6861751b1732b1e43907d (diff) |
Note that new_p is experimental
Diffstat (limited to 'lib/Travel/Status/DE')
-rw-r--r-- | lib/Travel/Status/DE/IRIS.pm | 5 |
1 files 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<EXPERIMENTAL>) 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<new>, the following mandatory arguments must be set: |