File tree Expand file tree Collapse file tree 1 file changed +10
-0
lines changed Expand file tree Collapse file tree 1 file changed +10
-0
lines changed Original file line number Diff line number Diff line change @@ -20,6 +20,10 @@ const workerToWindowHandler = new WorkerToWindowHandler(self);
20
20
21
21
function initEngine ( config ) {
22
22
// Create an engine lazily
23
+ console . log ( "engine" ) ;
24
+ console . log ( engine ) ;
25
+ console . log ( "require('my-comunica-engine')" ) ;
26
+ console . log ( require ( 'my-comunica-engine' ) ) ;
23
27
if ( ! engine )
24
28
engine = new QueryEngineBase ( require ( 'my-comunica-engine' ) ( ) ) ;
25
29
@@ -44,8 +48,13 @@ var handlers = {
44
48
45
49
// Create a client to fetch the fragments through HTTP
46
50
config . context . log = logger ;
51
+ console . log ( "config.query" ) ;
52
+ console . log ( config . query ) ;
53
+ console . log ( "config.context" ) ;
54
+ console . log ( config . context ) ;
47
55
engine . query ( config . query , config . context )
48
56
. then ( async function ( result ) {
57
+ console . log ( "then engine.query" ) ;
49
58
// Post query metadata
50
59
postMessage ( { type : 'queryInfo' , queryType : result . resultType } ) ;
51
60
@@ -98,6 +107,7 @@ var handlers = {
98
107
}
99
108
}
100
109
} ) . catch ( postError ) ;
110
+ console . log ( "2 post engine.query" ) ;
101
111
} ,
102
112
103
113
// Stop the execution of the current query
You can’t perform that action at this time.
0 commit comments