rm print
This commit is contained in:
@@ -395,16 +395,6 @@ Returns the opposite logical. Returns null for non-logicals.
|
||||
|
||||
Returns a requestor that starts all requestors in the array. Results are collected into an array matching the input order. Optional throttle limits concurrent requestors. Optional need specifies the minimum number of successes required. See [Requestors](/docs/requestors/) for usage.
|
||||
|
||||
### print(value)
|
||||
|
||||
Print a value to standard output.
|
||||
|
||||
```javascript
|
||||
print("hello")
|
||||
print(42)
|
||||
print(`result: ${x}`)
|
||||
```
|
||||
|
||||
### race(requestor_array, throttle, need)
|
||||
|
||||
Like parallel, but returns as soon as the needed number of results are obtained. Default need is 1. Unfinished requestors are cancelled. See [Requestors](/docs/requestors/) for usage.
|
||||
|
||||
@@ -595,7 +595,7 @@ var safe_divide = function(a, b) {
|
||||
if (b == 0) disrupt
|
||||
return a / b
|
||||
} disruption {
|
||||
print("something went wrong")
|
||||
log.error("something went wrong")
|
||||
}
|
||||
```
|
||||
|
||||
|
||||
Reference in New Issue
Block a user