method broken
1 | class Promise |
1.1 | (Promise) method broken |
Documentation for method broken
assembled from the following types:
class Promise
From Promise
(Promise) method broken
multi method broken(Promise: --> Promise)multi method broken(Promise: \exception --> Promise)
Returns a new promise that is already broken, either with the given value, or with the default value X::AdHoc.new(payload => "Died")