Documentation for method kept assembled from the following pages:

Class: Promise §

From Promise

(Promise) method kept §

multi method kept(Promise:U: \result = True --> Promise:D)

Returns a new promise that is already kept, either with the given value, or with the default value True.