summaryrefslogtreecommitdiff
path: root/lib/Travel/Status
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2022-01-30 17:54:22 +0100
committerDaniel Friesel <derf@finalrewind.org>2022-01-30 17:54:22 +0100
commitf930d71434ec9ce60b81a98b02d3c25155c95dfc (patch)
treef8f1df0b850d4c7ab410b6a478eaaf7bdb502e12 /lib/Travel/Status
parentf4c810aedc5679e68fb6861751b1732b1e43907d (diff)
Note that new_p is experimental
Diffstat (limited to 'lib/Travel/Status')
-rw-r--r--lib/Travel/Status/DE/IRIS.pm5
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: