Sleep

object Sleep: UnaryPredicate<ExecutionContext>

Implements predicate sleep(+N) where N must be instantiated as an integer. The predicate execution always succeeds, unless the resolution process is halted because of a TimeOutException. Furthermore, the resolution of a sleep(N) sub-goal is guaranteed to require at least N milliseconds

Methods

computeAll

protected fun Request<ExecutionContext>.computeAll(first: Term): Sequence<Response>

Template method aimed at computing the application of this predicate to a Term

Receiver

Name Description
Request<ExecutionContext>

Parameters

Name Description
first: Term

ReturnValue

Name Description
Sequence<Response>