UNPKG
@jahed/sparql-engine
Version:
latest (0.14.0)
0.14.0
0.13.0
0.12.0
0.11.0
0.10.0
0.9.0
SPARQL query engine for servers and web browsers.
github.com/jahed/sparql-engine
jahed/sparql-engine
@jahed/sparql-engine
/
src
/
operators
/
update
/
nop-consumer.ts
12 lines
(10 loc)
•
243 B
text/typescript
View Raw
1
2
3
4
5
6
7
8
9
10
11
12
// SPDX-License-Identifier: MIT
import
{
Consumable
}
from
"./consumer.ts"
;
/** * A Consumer that does nothing */
export
default
class
NoopConsumer
<T>
extends
Consumable
<T> {
execute
():
Promise
<
void
> {
return
Promise
.
resolve
(); } }