Documentation for method broken
assembled from the following pages:
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")