/
Gpseq-1.0.d.ts
2751 lines (2108 loc) · 131 KB
/
Gpseq-1.0.d.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
// @ts-nocheck
/*
* Type Definitions for node-gtk (https://github.com/romgrk/node-gtk)
*
* These type definitions are automatically generated, do not edit them by hand.
* If you found a bug fix it in ts-for-gir itself or create a bug report on https://github.com/sammydre/ts-for-gjs
*/
/**
* Gpseq-1.0
*/
import type Gee from './Gee-0.8';
import type Gio from './Gio-2.0';
import type GObject from './GObject-2.0';
import type GLib from './GLib-2.0';
export namespace Gpseq {
enum ChannelError {
CLOSED,
TIMEOUT,
TRY_FAILED,
}
enum MapError {
DUPLICATE_KEY,
}
enum OptionalError {
NOT_PRESENT,
}
enum CollectorFeatures {
CONCURRENT,
UNORDERED,
}
function collectorsToGenericArray(gType: GObject.GType, gDupFunc: GObject.BoxedCopyFunc, gDestroyFunc: GLib.DestroyNotify): Collector
function collectorsToCollection(gType: GObject.GType, gDupFunc: GObject.BoxedCopyFunc, gDestroyFunc: GLib.DestroyNotify, factory: Supplier): Collector
function collectorsToList(gType: GObject.GType, gDupFunc: GObject.BoxedCopyFunc, gDestroyFunc: GLib.DestroyNotify): Collector
function collectorsToSet(gType: GObject.GType, gDupFunc: GObject.BoxedCopyFunc, gDestroyFunc: GLib.DestroyNotify, hash: Gee.HashDataFunc | null, equal: Gee.EqualDataFunc | null): Collector
function collectorsToMap(kType: GObject.GType, kDupFunc: GObject.BoxedCopyFunc, kDestroyFunc: GLib.DestroyNotify, vType: GObject.GType, vDupFunc: GObject.BoxedCopyFunc, vDestroyFunc: GLib.DestroyNotify, gType: GObject.GType, gDupFunc: GObject.BoxedCopyFunc, gDestroyFunc: GLib.DestroyNotify, keyMapper: MapFunc, valMapper: MapFunc, merger: CombineFunc | null, keyHash: Gee.HashDataFunc | null, keyEqual: Gee.EqualDataFunc | null, valueEqual: Gee.EqualDataFunc | null): Collector
function collectorsSumInt(gType: GObject.GType, gDupFunc: GObject.BoxedCopyFunc, gDestroyFunc: GLib.DestroyNotify, mapper: MapFunc): Collector
function collectorsSumUint(gType: GObject.GType, gDupFunc: GObject.BoxedCopyFunc, gDestroyFunc: GLib.DestroyNotify, mapper: MapFunc): Collector
function collectorsSumLong(gType: GObject.GType, gDupFunc: GObject.BoxedCopyFunc, gDestroyFunc: GLib.DestroyNotify, mapper: MapFunc): Collector
function collectorsSumUlong(gType: GObject.GType, gDupFunc: GObject.BoxedCopyFunc, gDestroyFunc: GLib.DestroyNotify, mapper: MapFunc): Collector
function collectorsSumFloat(gType: GObject.GType, gDupFunc: GObject.BoxedCopyFunc, gDestroyFunc: GLib.DestroyNotify, mapper: MapFunc): Collector
function collectorsSumDouble(gType: GObject.GType, gDupFunc: GObject.BoxedCopyFunc, gDestroyFunc: GLib.DestroyNotify, mapper: MapFunc): Collector
function collectorsSumInt32(gType: GObject.GType, gDupFunc: GObject.BoxedCopyFunc, gDestroyFunc: GLib.DestroyNotify, mapper: MapFunc): Collector
function collectorsSumUint32(gType: GObject.GType, gDupFunc: GObject.BoxedCopyFunc, gDestroyFunc: GLib.DestroyNotify, mapper: MapFunc): Collector
function collectorsSumInt64(gType: GObject.GType, gDupFunc: GObject.BoxedCopyFunc, gDestroyFunc: GLib.DestroyNotify, mapper: MapFunc): Collector
function collectorsSumUint64(gType: GObject.GType, gDupFunc: GObject.BoxedCopyFunc, gDestroyFunc: GLib.DestroyNotify, mapper: MapFunc): Collector
function collectorsAverageFloat(gType: GObject.GType, gDupFunc: GObject.BoxedCopyFunc, gDestroyFunc: GLib.DestroyNotify, mapper: MapFunc): Collector
function collectorsAverageDouble(gType: GObject.GType, gDupFunc: GObject.BoxedCopyFunc, gDestroyFunc: GLib.DestroyNotify, mapper: MapFunc): Collector
function collectorsGroupBy(kType: GObject.GType, kDupFunc: GObject.BoxedCopyFunc, kDestroyFunc: GLib.DestroyNotify, gType: GObject.GType, gDupFunc: GObject.BoxedCopyFunc, gDestroyFunc: GLib.DestroyNotify, classifier: MapFunc): Collector
function collectorsGroupByWith(kType: GObject.GType, kDupFunc: GObject.BoxedCopyFunc, kDestroyFunc: GLib.DestroyNotify, vType: GObject.GType, vDupFunc: GObject.BoxedCopyFunc, vDestroyFunc: GLib.DestroyNotify, gType: GObject.GType, gDupFunc: GObject.BoxedCopyFunc, gDestroyFunc: GLib.DestroyNotify, classifier: MapFunc, downstream: Collector): Collector
function collectorsPartition(gType: GObject.GType, gDupFunc: GObject.BoxedCopyFunc, gDestroyFunc: GLib.DestroyNotify, pred: Predicate): Collector
function collectorsPartitionWith(vType: GObject.GType, vDupFunc: GObject.BoxedCopyFunc, vDestroyFunc: GLib.DestroyNotify, gType: GObject.GType, gDupFunc: GObject.BoxedCopyFunc, gDestroyFunc: GLib.DestroyNotify, pred: Predicate, downstream: Collector): Collector
function collectorsMax(gType: GObject.GType, gDupFunc: GObject.BoxedCopyFunc, gDestroyFunc: GLib.DestroyNotify, compare: GLib.CompareDataFunc | null): Collector
function collectorsMin(gType: GObject.GType, gDupFunc: GObject.BoxedCopyFunc, gDestroyFunc: GLib.DestroyNotify, compare: GLib.CompareDataFunc | null): Collector
function collectorsCount(gType: GObject.GType, gDupFunc: GObject.BoxedCopyFunc, gDestroyFunc: GLib.DestroyNotify): Collector
function collectorsFold(aType: GObject.GType, aDupFunc: GObject.BoxedCopyFunc, aDestroyFunc: GLib.DestroyNotify, gType: GObject.GType, gDupFunc: GObject.BoxedCopyFunc, gDestroyFunc: GLib.DestroyNotify, accumulator: FoldFunc, combiner: CombineFunc, identity?: object | null): Collector
function collectorsReduce(gType: GObject.GType, gDupFunc: GObject.BoxedCopyFunc, gDestroyFunc: GLib.DestroyNotify, accumulator: CombineFunc): Collector
function collectorsJoin(delimiter: string): Collector
function collectorsFilter(aType: GObject.GType, aDupFunc: GObject.BoxedCopyFunc, aDestroyFunc: GLib.DestroyNotify, gType: GObject.GType, gDupFunc: GObject.BoxedCopyFunc, gDestroyFunc: GLib.DestroyNotify, pred: Predicate, downstream: Collector): Collector
function collectorsTee(aType: GObject.GType, aDupFunc: GObject.BoxedCopyFunc, aDestroyFunc: GLib.DestroyNotify, gType: GObject.GType, gDupFunc: GObject.BoxedCopyFunc, gDestroyFunc: GLib.DestroyNotify, downstreams: Collector[], merger: TeeMergeFunc): Collector
function collectorsMap(rType: GObject.GType, rDupFunc: GObject.BoxedCopyFunc, rDestroyFunc: GLib.DestroyNotify, aType: GObject.GType, aDupFunc: GObject.BoxedCopyFunc, aDestroyFunc: GLib.DestroyNotify, gType: GObject.GType, gDupFunc: GObject.BoxedCopyFunc, gDestroyFunc: GLib.DestroyNotify, mapper: MapFunc, downstream: Collector): Collector
function collectorsWrap(aType: GObject.GType, aDupFunc: GObject.BoxedCopyFunc, aDestroyFunc: GLib.DestroyNotify, gType: GObject.GType, gDupFunc: GObject.BoxedCopyFunc, gDestroyFunc: GLib.DestroyNotify, collector: Collector): Collector
function comparesReverse(gType: GObject.GType, gDupFunc: GObject.BoxedCopyFunc, gDestroyFunc: GLib.DestroyNotify, cmp: GLib.CompareDataFunc | null): [ /* returnType */ GLib.CompareDataFunc, /* resultTarget */ object | null, /* resultTargetDestroyNotify */ GLib.DestroyNotify ]
function comparesJoin(gType: GObject.GType, gDupFunc: GObject.BoxedCopyFunc, gDestroyFunc: GLib.DestroyNotify, cmp: GLib.CompareDataFunc, cmp2: GLib.CompareDataFunc): [ /* returnType */ GLib.CompareDataFunc, /* resultTarget */ object | null, /* resultTargetDestroyNotify */ GLib.DestroyNotify ]
function overflowIntAdd(a: number, b: number): [ /* returnType */ boolean, /* result */ number ]
function overflowIntSub(a: number, b: number): [ /* returnType */ boolean, /* result */ number ]
function overflowIntMul(a: number, b: number): [ /* returnType */ boolean, /* result */ number ]
function overflowLongAdd(a: number, b: number): [ /* returnType */ boolean, /* result */ number ]
function overflowLongSub(a: number, b: number): [ /* returnType */ boolean, /* result */ number ]
function overflowLongMul(a: number, b: number): [ /* returnType */ boolean, /* result */ number ]
function overflowInt32Add(a: number, b: number): [ /* returnType */ boolean, /* result */ number ]
function overflowInt32Sub(a: number, b: number): [ /* returnType */ boolean, /* result */ number ]
function overflowInt32Mul(a: number, b: number): [ /* returnType */ boolean, /* result */ number ]
function overflowInt64Add(a: number, b: number): [ /* returnType */ boolean, /* result */ number ]
function overflowInt64Sub(a: number, b: number): [ /* returnType */ boolean, /* result */ number ]
function overflowInt64Mul(a: number, b: number): [ /* returnType */ boolean, /* result */ number ]
function parallelSort(gType: GObject.GType, gDupFunc: GObject.BoxedCopyFunc, gDestroyFunc: GLib.DestroyNotify, array: object[], compare: GLib.CompareDataFunc | null): Future
function task(gType: GObject.GType, gDupFunc: GObject.BoxedCopyFunc, gDestroyFunc: GLib.DestroyNotify, func: TaskFunc): Future
function run(func: VoidTaskFunc): Future
function blocking(func: VoidTaskFunc): void
function blockingGet(gType: GObject.GType, gDupFunc: GObject.BoxedCopyFunc, gDestroyFunc: GLib.DestroyNotify, func: TaskFunc): object | null
function join(gType: GObject.GType, gDupFunc: GObject.BoxedCopyFunc, gDestroyFunc: GLib.DestroyNotify, left: TaskFunc): [ /* returnType */ object[], /* resultLength1 */ number ]
function atomicInt64Get(atomic: number): [ /* returnType */ number, /* atomic */ number ]
function atomicInt64Set(atomic: number, newval: number): /* atomic */ number
function atomicInt64Inc(atomic: number): /* atomic */ number
function atomicInt64DecAndTest(atomic: number): [ /* returnType */ boolean, /* atomic */ number ]
function atomicInt64CompareAndExchange(atomic: number, oldval: number, newval: number): [ /* returnType */ boolean, /* atomic */ number ]
function atomicInt64Add(atomic: number, val: number): [ /* returnType */ number, /* atomic */ number ]
function atomicInt64And(atomic: number, val: number): [ /* returnType */ number, /* atomic */ number ]
function atomicInt64Or(atomic: number, val: number): [ /* returnType */ number, /* atomic */ number ]
function atomicInt64Xor(atomic: number, val: number): [ /* returnType */ number, /* atomic */ number ]
interface CombineFunc {
(gType: GObject.GType, gDupFunc: GObject.BoxedCopyFunc, gDestroyFunc: GLib.DestroyNotify, a: object | null, b: object | null): object | null
}
interface EachChunkFunc {
(gType: GObject.GType, gDupFunc: GObject.BoxedCopyFunc, gDestroyFunc: GLib.DestroyNotify, chunk: object[]): boolean
}
interface FlatMapFunc {
(aType: GObject.GType, aDupFunc: GObject.BoxedCopyFunc, aDestroyFunc: GLib.DestroyNotify, gType: GObject.GType, gDupFunc: GObject.BoxedCopyFunc, gDestroyFunc: GLib.DestroyNotify, g: object | null): Gee.Iterator
}
interface FoldFunc {
(aType: GObject.GType, aDupFunc: GObject.BoxedCopyFunc, aDestroyFunc: GLib.DestroyNotify, gType: GObject.GType, gDupFunc: GObject.BoxedCopyFunc, gDestroyFunc: GLib.DestroyNotify, g: object | null, a: object | null): object | null
}
interface Func {
(gType: GObject.GType, gDupFunc: GObject.BoxedCopyFunc, gDestroyFunc: GLib.DestroyNotify, g: object | null): void
}
interface MapFunc {
(aType: GObject.GType, aDupFunc: GObject.BoxedCopyFunc, aDestroyFunc: GLib.DestroyNotify, gType: GObject.GType, gDupFunc: GObject.BoxedCopyFunc, gDestroyFunc: GLib.DestroyNotify, g: object | null): object | null
}
interface Predicate {
(gType: GObject.GType, gDupFunc: GObject.BoxedCopyFunc, gDestroyFunc: GLib.DestroyNotify, g: object | null): boolean
}
interface SupplyFunc {
(gType: GObject.GType, gDupFunc: GObject.BoxedCopyFunc, gDestroyFunc: GLib.DestroyNotify): object | null
}
interface TaskFunc {
(gType: GObject.GType, gDupFunc: GObject.BoxedCopyFunc, gDestroyFunc: GLib.DestroyNotify): object | null
}
interface TeeMergeFunc {
(aType: GObject.GType, aDupFunc: GObject.BoxedCopyFunc, aDestroyFunc: GLib.DestroyNotify, results: GObject.Object[]): object | null
}
interface VoidFunc {
(): void
}
interface VoidTaskFunc {
(): void
}
interface Channel_ConstructProps extends Sender_ConstructProps, Receiver_ConstructProps, GObject.Object_ConstructProps {
}
interface Channel extends Sender, Receiver {
// Class property signals of Gpseq-1.0.Gpseq.Channel
connect(sigName: "notify::capacity", callback: (...args: any[]) => void): number
on(sigName: "notify::capacity", callback: (...args: any[]) => void, after?: boolean): NodeJS.EventEmitter
once(sigName: "notify::capacity", callback: (...args: any[]) => void, after?: boolean): NodeJS.EventEmitter
off(sigName: "notify::capacity", callback: (...args: any[]) => void): NodeJS.EventEmitter
emit(sigName: "notify::capacity", ...args: any[]): void
connect(sigName: "notify::length", callback: (...args: any[]) => void): number
on(sigName: "notify::length", callback: (...args: any[]) => void, after?: boolean): NodeJS.EventEmitter
once(sigName: "notify::length", callback: (...args: any[]) => void, after?: boolean): NodeJS.EventEmitter
off(sigName: "notify::length", callback: (...args: any[]) => void): NodeJS.EventEmitter
emit(sigName: "notify::length", ...args: any[]): void
connect(sigName: string, callback: (...args: any[]) => void): number
on(sigName: string, callback: (...args: any[]) => void, after?: boolean): NodeJS.EventEmitter
once(sigName: string, callback: (...args: any[]) => void, after?: boolean): NodeJS.EventEmitter
off(sigName: string, callback: (...args: any[]) => void): NodeJS.EventEmitter
emit(sigName: string, ...args: any[]): void
}
class Channel extends GObject.Object {
// Own properties of Gpseq-1.0.Gpseq.Channel
static name: string
static $gtype: GObject.GType<Channel>
// Constructors of Gpseq-1.0.Gpseq.Channel
constructor(config?: Channel_ConstructProps)
_init(config?: Channel_ConstructProps): void
static bounded(gType: GObject.GType, gDupFunc: GObject.BoxedCopyFunc, gDestroyFunc: GLib.DestroyNotify, proposedCapacity: number): Channel
static unbounded(gType: GObject.GType, gDupFunc: GObject.BoxedCopyFunc, gDestroyFunc: GLib.DestroyNotify): Channel
}
interface ChannelBase_ConstructProps extends GObject.Object_ConstructProps {
}
interface ChannelBase extends GObject.Object {
// Own properties of Gpseq-1.0.Gpseq.ChannelBase
readonly capacity: Optional
readonly length: number
// Owm methods of Gpseq-1.0.Gpseq.ChannelBase
getCapacity(): Optional
getLength(): number
getIsFull(): boolean
getIsEmpty(): boolean
close(): void
// Class property signals of Gpseq-1.0.Gpseq.ChannelBase
connect(sigName: "notify::capacity", callback: (...args: any[]) => void): number
on(sigName: "notify::capacity", callback: (...args: any[]) => void, after?: boolean): NodeJS.EventEmitter
once(sigName: "notify::capacity", callback: (...args: any[]) => void, after?: boolean): NodeJS.EventEmitter
off(sigName: "notify::capacity", callback: (...args: any[]) => void): NodeJS.EventEmitter
emit(sigName: "notify::capacity", ...args: any[]): void
connect(sigName: "notify::length", callback: (...args: any[]) => void): number
on(sigName: "notify::length", callback: (...args: any[]) => void, after?: boolean): NodeJS.EventEmitter
once(sigName: "notify::length", callback: (...args: any[]) => void, after?: boolean): NodeJS.EventEmitter
off(sigName: "notify::length", callback: (...args: any[]) => void): NodeJS.EventEmitter
emit(sigName: "notify::length", ...args: any[]): void
connect(sigName: string, callback: (...args: any[]) => void): number
on(sigName: string, callback: (...args: any[]) => void, after?: boolean): NodeJS.EventEmitter
once(sigName: string, callback: (...args: any[]) => void, after?: boolean): NodeJS.EventEmitter
off(sigName: string, callback: (...args: any[]) => void): NodeJS.EventEmitter
emit(sigName: string, ...args: any[]): void
}
class ChannelBase {
// Own properties of Gpseq-1.0.Gpseq.ChannelBase
static name: string
static $gtype: GObject.GType<ChannelBase>
// Constructors of Gpseq-1.0.Gpseq.ChannelBase
constructor(config?: ChannelBase_ConstructProps)
_init(config?: ChannelBase_ConstructProps): void
}
interface Collector_ConstructProps extends GObject.Object_ConstructProps {
}
interface Collector extends GObject.Object {
// Own properties of Gpseq-1.0.Gpseq.Collector
readonly features: CollectorFeatures
// Owm methods of Gpseq-1.0.Gpseq.Collector
getFeatures(): CollectorFeatures
createAccumulator(): object | null
accumulate(g?: object | null, a?: object | null): void
combine(a?: object | null, b?: object | null): object | null
finish(a?: object | null): object | null
// Class property signals of Gpseq-1.0.Gpseq.Collector
connect(sigName: "notify::features", callback: (...args: any[]) => void): number
on(sigName: "notify::features", callback: (...args: any[]) => void, after?: boolean): NodeJS.EventEmitter
once(sigName: "notify::features", callback: (...args: any[]) => void, after?: boolean): NodeJS.EventEmitter
off(sigName: "notify::features", callback: (...args: any[]) => void): NodeJS.EventEmitter
emit(sigName: "notify::features", ...args: any[]): void
connect(sigName: string, callback: (...args: any[]) => void): number
on(sigName: string, callback: (...args: any[]) => void, after?: boolean): NodeJS.EventEmitter
once(sigName: string, callback: (...args: any[]) => void, after?: boolean): NodeJS.EventEmitter
off(sigName: string, callback: (...args: any[]) => void): NodeJS.EventEmitter
emit(sigName: string, ...args: any[]): void
}
class Collector {
// Own properties of Gpseq-1.0.Gpseq.Collector
static name: string
static $gtype: GObject.GType<Collector>
// Constructors of Gpseq-1.0.Gpseq.Collector
constructor(config?: Collector_ConstructProps)
_init(config?: Collector_ConstructProps): void
}
interface Executor_ConstructProps extends GObject.Object_ConstructProps {
}
interface Executor extends GObject.Object {
// Own properties of Gpseq-1.0.Gpseq.Executor
readonly parallels: number
// Owm methods of Gpseq-1.0.Gpseq.Executor
submit(task: Task): void
getParallels(): number
// Class property signals of Gpseq-1.0.Gpseq.Executor
connect(sigName: "notify::parallels", callback: (...args: any[]) => void): number
on(sigName: "notify::parallels", callback: (...args: any[]) => void, after?: boolean): NodeJS.EventEmitter
once(sigName: "notify::parallels", callback: (...args: any[]) => void, after?: boolean): NodeJS.EventEmitter
off(sigName: "notify::parallels", callback: (...args: any[]) => void): NodeJS.EventEmitter
emit(sigName: "notify::parallels", ...args: any[]): void
connect(sigName: string, callback: (...args: any[]) => void): number
on(sigName: string, callback: (...args: any[]) => void, after?: boolean): NodeJS.EventEmitter
once(sigName: string, callback: (...args: any[]) => void, after?: boolean): NodeJS.EventEmitter
off(sigName: string, callback: (...args: any[]) => void): NodeJS.EventEmitter
emit(sigName: string, ...args: any[]): void
}
class Executor {
// Own properties of Gpseq-1.0.Gpseq.Executor
static name: string
static $gtype: GObject.GType<Executor>
// Constructors of Gpseq-1.0.Gpseq.Executor
constructor(config?: Executor_ConstructProps)
_init(config?: Executor_ConstructProps): void
}
interface Receiver_ConstructProps extends ChannelBase_ConstructProps, Gee.Traversable_ConstructProps, GObject.Object_ConstructProps {
}
interface Receiver extends ChannelBase, Gee.Traversable {
// Owm methods of Gpseq-1.0.Gpseq.Receiver
recv(): Result
recvUntil(endTime: number): Result
tryRecv(): Result
// Class property signals of Gpseq-1.0.Gpseq.Receiver
connect(sigName: "notify::capacity", callback: (...args: any[]) => void): number
on(sigName: "notify::capacity", callback: (...args: any[]) => void, after?: boolean): NodeJS.EventEmitter
once(sigName: "notify::capacity", callback: (...args: any[]) => void, after?: boolean): NodeJS.EventEmitter
off(sigName: "notify::capacity", callback: (...args: any[]) => void): NodeJS.EventEmitter
emit(sigName: "notify::capacity", ...args: any[]): void
connect(sigName: "notify::length", callback: (...args: any[]) => void): number
on(sigName: "notify::length", callback: (...args: any[]) => void, after?: boolean): NodeJS.EventEmitter
once(sigName: "notify::length", callback: (...args: any[]) => void, after?: boolean): NodeJS.EventEmitter
off(sigName: "notify::length", callback: (...args: any[]) => void): NodeJS.EventEmitter
emit(sigName: "notify::length", ...args: any[]): void
connect(sigName: string, callback: (...args: any[]) => void): number
on(sigName: string, callback: (...args: any[]) => void, after?: boolean): NodeJS.EventEmitter
once(sigName: string, callback: (...args: any[]) => void, after?: boolean): NodeJS.EventEmitter
off(sigName: string, callback: (...args: any[]) => void): NodeJS.EventEmitter
emit(sigName: string, ...args: any[]): void
}
class Receiver extends GObject.Object {
// Own properties of Gpseq-1.0.Gpseq.Receiver
static name: string
static $gtype: GObject.GType<Receiver>
// Constructors of Gpseq-1.0.Gpseq.Receiver
constructor(config?: Receiver_ConstructProps)
_init(config?: Receiver_ConstructProps): void
}
interface Result_ConstructProps extends Gee.Hashable_ConstructProps, GObject.Object_ConstructProps {
}
interface Result extends Gee.Hashable {
// Owm methods of Gpseq-1.0.Gpseq.Result
getValueType(): GObject.GType
getValue(): object | null
getException(): GLib.Error | null
getIsErr(): boolean
ok(): Result
okWith(expected: object | null, equal: Gee.EqualDataFunc | null): Result
future(): Future
get(): object | null
transform(aType: GObject.GType, aDupFunc: GObject.BoxedCopyFunc, aDestroyFunc: GLib.DestroyNotify, func: any): Result
flatMap(aType: GObject.GType, aDupFunc: GObject.BoxedCopyFunc, aDestroyFunc: GLib.DestroyNotify, func: any): Result
map(aType: GObject.GType, aDupFunc: GObject.BoxedCopyFunc, aDestroyFunc: GLib.DestroyNotify, func: any): Result
mapErr(func: any): Result
zip(aType: GObject.GType, aDupFunc: GObject.BoxedCopyFunc, aDestroyFunc: GLib.DestroyNotify, bType: GObject.GType, bDupFunc: GObject.BoxedCopyFunc, bDestroyFunc: GLib.DestroyNotify, zipFunc: any, second: Result): Result
then(func: GLib.Func): Result
andThen(func: Func): Result
// Class property signals of Gpseq-1.0.Gpseq.Result
connect(sigName: string, callback: (...args: any[]) => void): number
on(sigName: string, callback: (...args: any[]) => void, after?: boolean): NodeJS.EventEmitter
once(sigName: string, callback: (...args: any[]) => void, after?: boolean): NodeJS.EventEmitter
off(sigName: string, callback: (...args: any[]) => void): NodeJS.EventEmitter
emit(sigName: string, ...args: any[]): void
}
class Result extends GObject.Object {
// Own properties of Gpseq-1.0.Gpseq.Result
static name: string
static $gtype: GObject.GType<Result>
// Constructors of Gpseq-1.0.Gpseq.Result
constructor(config?: Result_ConstructProps)
_init(config?: Result_ConstructProps): void
static of(gType: GObject.GType, gDupFunc?: GObject.BoxedCopyFunc, gDestroyFunc?: GLib.DestroyNotify, value?: object | null): Result
static err(gType: GObject.GType, gDupFunc?: GObject.BoxedCopyFunc, gDestroyFunc?: GLib.DestroyNotify, exception?: GLib.Error): Result
}
interface Sender_ConstructProps extends ChannelBase_ConstructProps, GObject.Object_ConstructProps {
}
interface Sender extends ChannelBase {
// Owm methods of Gpseq-1.0.Gpseq.Sender
send(data?: object | null): Result
sendUntil(data: object | null, endTime: number): Result
trySend(data?: object | null): Result
// Class property signals of Gpseq-1.0.Gpseq.Sender
connect(sigName: "notify::capacity", callback: (...args: any[]) => void): number
on(sigName: "notify::capacity", callback: (...args: any[]) => void, after?: boolean): NodeJS.EventEmitter
once(sigName: "notify::capacity", callback: (...args: any[]) => void, after?: boolean): NodeJS.EventEmitter
off(sigName: "notify::capacity", callback: (...args: any[]) => void): NodeJS.EventEmitter
emit(sigName: "notify::capacity", ...args: any[]): void
connect(sigName: "notify::length", callback: (...args: any[]) => void): number
on(sigName: "notify::length", callback: (...args: any[]) => void, after?: boolean): NodeJS.EventEmitter
once(sigName: "notify::length", callback: (...args: any[]) => void, after?: boolean): NodeJS.EventEmitter
off(sigName: "notify::length", callback: (...args: any[]) => void): NodeJS.EventEmitter
emit(sigName: "notify::length", ...args: any[]): void
connect(sigName: string, callback: (...args: any[]) => void): number
on(sigName: string, callback: (...args: any[]) => void, after?: boolean): NodeJS.EventEmitter
once(sigName: string, callback: (...args: any[]) => void, after?: boolean): NodeJS.EventEmitter
off(sigName: string, callback: (...args: any[]) => void): NodeJS.EventEmitter
emit(sigName: string, ...args: any[]): void
}
class Sender extends GObject.Object {
// Own properties of Gpseq-1.0.Gpseq.Sender
static name: string
static $gtype: GObject.GType<Sender>
// Constructors of Gpseq-1.0.Gpseq.Sender
constructor(config?: Sender_ConstructProps)
_init(config?: Sender_ConstructProps): void
}
interface Spliterator_ConstructProps extends GObject.Object_ConstructProps {
}
interface Spliterator extends GObject.Object {
// Own properties of Gpseq-1.0.Gpseq.Spliterator
readonly estimatedSize: number
readonly isSizeKnown: boolean
// Owm methods of Gpseq-1.0.Gpseq.Spliterator
getElementType(): GObject.GType
trySplit(): Spliterator | null
tryAdvance(consumer: Func): boolean
getEstimatedSize(): number
getIsSizeKnown(): boolean
each(f: Func): void
eachChunk(f: EachChunkFunc): boolean
// Class property signals of Gpseq-1.0.Gpseq.Spliterator
connect(sigName: "notify::estimated-size", callback: (...args: any[]) => void): number
on(sigName: "notify::estimated-size", callback: (...args: any[]) => void, after?: boolean): NodeJS.EventEmitter
once(sigName: "notify::estimated-size", callback: (...args: any[]) => void, after?: boolean): NodeJS.EventEmitter
off(sigName: "notify::estimated-size", callback: (...args: any[]) => void): NodeJS.EventEmitter
emit(sigName: "notify::estimated-size", ...args: any[]): void
connect(sigName: "notify::is-size-known", callback: (...args: any[]) => void): number
on(sigName: "notify::is-size-known", callback: (...args: any[]) => void, after?: boolean): NodeJS.EventEmitter
once(sigName: "notify::is-size-known", callback: (...args: any[]) => void, after?: boolean): NodeJS.EventEmitter
off(sigName: "notify::is-size-known", callback: (...args: any[]) => void): NodeJS.EventEmitter
emit(sigName: "notify::is-size-known", ...args: any[]): void
connect(sigName: string, callback: (...args: any[]) => void): number
on(sigName: string, callback: (...args: any[]) => void, after?: boolean): NodeJS.EventEmitter
once(sigName: string, callback: (...args: any[]) => void, after?: boolean): NodeJS.EventEmitter
off(sigName: string, callback: (...args: any[]) => void): NodeJS.EventEmitter
emit(sigName: string, ...args: any[]): void
}
class Spliterator {
// Own properties of Gpseq-1.0.Gpseq.Spliterator
static name: string
static $gtype: GObject.GType<Spliterator>
// Constructors of Gpseq-1.0.Gpseq.Spliterator
constructor(config?: Spliterator_ConstructProps)
_init(config?: Spliterator_ConstructProps): void
static empty(gType: GObject.GType, gDupFunc: GObject.BoxedCopyFunc, gDestroyFunc: GLib.DestroyNotify): Spliterator
}
interface Supplier_ConstructProps extends GObject.Object_ConstructProps {
}
interface Supplier extends GObject.Object {
// Owm methods of Gpseq-1.0.Gpseq.Supplier
supply(): object | null
// Class property signals of Gpseq-1.0.Gpseq.Supplier
connect(sigName: string, callback: (...args: any[]) => void): number
on(sigName: string, callback: (...args: any[]) => void, after?: boolean): NodeJS.EventEmitter
once(sigName: string, callback: (...args: any[]) => void, after?: boolean): NodeJS.EventEmitter
off(sigName: string, callback: (...args: any[]) => void): NodeJS.EventEmitter
emit(sigName: string, ...args: any[]): void
}
class Supplier {
// Own properties of Gpseq-1.0.Gpseq.Supplier
static name: string
static $gtype: GObject.GType<Supplier>
// Constructors of Gpseq-1.0.Gpseq.Supplier
constructor(config?: Supplier_ConstructProps)
_init(config?: Supplier_ConstructProps): void
static fromFunc(gType: GObject.GType, gDupFunc: GObject.BoxedCopyFunc, gDestroyFunc: GLib.DestroyNotify, func: SupplyFunc): Supplier
}
interface Task_ConstructProps extends GObject.Object_ConstructProps {
}
interface Task extends GObject.Object {
// Own properties of Gpseq-1.0.Gpseq.Task
readonly future: Future
// Owm methods of Gpseq-1.0.Gpseq.Task
getFuture(): Future
compute(): void
invoke(): void
// Class property signals of Gpseq-1.0.Gpseq.Task
connect(sigName: "notify::future", callback: (...args: any[]) => void): number
on(sigName: "notify::future", callback: (...args: any[]) => void, after?: boolean): NodeJS.EventEmitter
once(sigName: "notify::future", callback: (...args: any[]) => void, after?: boolean): NodeJS.EventEmitter
off(sigName: "notify::future", callback: (...args: any[]) => void): NodeJS.EventEmitter
emit(sigName: "notify::future", ...args: any[]): void
connect(sigName: string, callback: (...args: any[]) => void): number
on(sigName: string, callback: (...args: any[]) => void, after?: boolean): NodeJS.EventEmitter
once(sigName: string, callback: (...args: any[]) => void, after?: boolean): NodeJS.EventEmitter
off(sigName: string, callback: (...args: any[]) => void): NodeJS.EventEmitter
emit(sigName: string, ...args: any[]): void
}
class Task {
// Own properties of Gpseq-1.0.Gpseq.Task
static name: string
static $gtype: GObject.GType<Task>
// Constructors of Gpseq-1.0.Gpseq.Task
constructor(config?: Task_ConstructProps)
_init(config?: Task_ConstructProps): void
}
interface ThreadFactory_ConstructProps extends GObject.Object_ConstructProps {
}
interface ThreadFactory extends GObject.Object {
// Owm methods of Gpseq-1.0.Gpseq.ThreadFactory
createThread(pool: WorkerPool): WorkerThread
// Class property signals of Gpseq-1.0.Gpseq.ThreadFactory
connect(sigName: string, callback: (...args: any[]) => void): number
on(sigName: string, callback: (...args: any[]) => void, after?: boolean): NodeJS.EventEmitter
once(sigName: string, callback: (...args: any[]) => void, after?: boolean): NodeJS.EventEmitter
off(sigName: string, callback: (...args: any[]) => void): NodeJS.EventEmitter
emit(sigName: string, ...args: any[]): void
}
class ThreadFactory {
// Own properties of Gpseq-1.0.Gpseq.ThreadFactory
static name: string
static $gtype: GObject.GType<ThreadFactory>
// Constructors of Gpseq-1.0.Gpseq.ThreadFactory
constructor(config?: ThreadFactory_ConstructProps)
_init(config?: ThreadFactory_ConstructProps): void
}
interface ArraySpliterator_ConstructProps extends Spliterator_ConstructProps, GObject.Object_ConstructProps {
// Own constructor properties of Gpseq-1.0.Gpseq.ArraySpliterator
gType?: GObject.GType | null
gDupFunc?: GObject.BoxedCopyFunc | null
gDestroyFunc?: GLib.DestroyNotify | null
}
interface ArraySpliterator extends Spliterator {
// Own properties of Gpseq-1.0.Gpseq.ArraySpliterator
readonly gType: GObject.GType
readonly gDupFunc: GObject.BoxedCopyFunc
readonly gDestroyFunc: GLib.DestroyNotify
// Class property signals of Gpseq-1.0.Gpseq.ArraySpliterator
connect(sigName: "notify::g-type", callback: (...args: any[]) => void): number
on(sigName: "notify::g-type", callback: (...args: any[]) => void, after?: boolean): NodeJS.EventEmitter
once(sigName: "notify::g-type", callback: (...args: any[]) => void, after?: boolean): NodeJS.EventEmitter
off(sigName: "notify::g-type", callback: (...args: any[]) => void): NodeJS.EventEmitter
emit(sigName: "notify::g-type", ...args: any[]): void
connect(sigName: "notify::g-dup-func", callback: (...args: any[]) => void): number
on(sigName: "notify::g-dup-func", callback: (...args: any[]) => void, after?: boolean): NodeJS.EventEmitter
once(sigName: "notify::g-dup-func", callback: (...args: any[]) => void, after?: boolean): NodeJS.EventEmitter
off(sigName: "notify::g-dup-func", callback: (...args: any[]) => void): NodeJS.EventEmitter
emit(sigName: "notify::g-dup-func", ...args: any[]): void
connect(sigName: "notify::g-destroy-func", callback: (...args: any[]) => void): number
on(sigName: "notify::g-destroy-func", callback: (...args: any[]) => void, after?: boolean): NodeJS.EventEmitter
once(sigName: "notify::g-destroy-func", callback: (...args: any[]) => void, after?: boolean): NodeJS.EventEmitter
off(sigName: "notify::g-destroy-func", callback: (...args: any[]) => void): NodeJS.EventEmitter
emit(sigName: "notify::g-destroy-func", ...args: any[]): void
connect(sigName: "notify::estimated-size", callback: (...args: any[]) => void): number
on(sigName: "notify::estimated-size", callback: (...args: any[]) => void, after?: boolean): NodeJS.EventEmitter
once(sigName: "notify::estimated-size", callback: (...args: any[]) => void, after?: boolean): NodeJS.EventEmitter
off(sigName: "notify::estimated-size", callback: (...args: any[]) => void): NodeJS.EventEmitter
emit(sigName: "notify::estimated-size", ...args: any[]): void
connect(sigName: "notify::is-size-known", callback: (...args: any[]) => void): number
on(sigName: "notify::is-size-known", callback: (...args: any[]) => void, after?: boolean): NodeJS.EventEmitter
once(sigName: "notify::is-size-known", callback: (...args: any[]) => void, after?: boolean): NodeJS.EventEmitter
off(sigName: "notify::is-size-known", callback: (...args: any[]) => void): NodeJS.EventEmitter
emit(sigName: "notify::is-size-known", ...args: any[]): void
connect(sigName: string, callback: (...args: any[]) => void): number
on(sigName: string, callback: (...args: any[]) => void, after?: boolean): NodeJS.EventEmitter
once(sigName: string, callback: (...args: any[]) => void, after?: boolean): NodeJS.EventEmitter
off(sigName: string, callback: (...args: any[]) => void): NodeJS.EventEmitter
emit(sigName: string, ...args: any[]): void
}
class ArraySpliterator extends GObject.Object {
// Own properties of Gpseq-1.0.Gpseq.ArraySpliterator
static name: string
static $gtype: GObject.GType<ArraySpliterator>
// Constructors of Gpseq-1.0.Gpseq.ArraySpliterator
constructor(config?: ArraySpliterator_ConstructProps)
constructor(gType: GObject.GType, gDupFunc: GObject.BoxedCopyFunc, gDestroyFunc: GLib.DestroyNotify, array: object[], start: number, stop: number)
static new(gType: GObject.GType, gDupFunc: GObject.BoxedCopyFunc, gDestroyFunc: GLib.DestroyNotify, array: object[], start: number, stop: number): ArraySpliterator
_init(config?: ArraySpliterator_ConstructProps): void
}
interface ForkJoinTask_ConstructProps extends Task_ConstructProps, GObject.Object_ConstructProps {
// Own constructor properties of Gpseq-1.0.Gpseq.ForkJoinTask
gType?: GObject.GType | null
gDupFunc?: GObject.BoxedCopyFunc | null
gDestroyFunc?: GLib.DestroyNotify | null
depth?: number | null
}
interface ForkJoinTask extends Task {
// Own properties of Gpseq-1.0.Gpseq.ForkJoinTask
readonly gType: GObject.GType
readonly gDupFunc: GObject.BoxedCopyFunc
readonly gDestroyFunc: GLib.DestroyNotify
readonly parent: ForkJoinTask
readonly root: ForkJoinTask
readonly isRoot: boolean
readonly threshold: number
readonly maxDepth: number
depth: number
readonly executor: Executor
readonly promise: Promise
readonly sharedResult: ForkJoinTaskSharedResult
readonly isCancelled: boolean
// Owm methods of Gpseq-1.0.Gpseq.ForkJoinTask
getParent(): ForkJoinTask | null
getRoot(): ForkJoinTask
getIsRoot(): boolean
getThreshold(): number
getMaxDepth(): number
getDepth(): number
setDepth(value: number): void
getExecutor(): Executor
getPromise(): Promise
join(): object | null
fork(): void
getSharedResult(): ForkJoinTaskSharedResult
cancel(): void
getIsCancelled(): boolean
compute(): void
// Class property signals of Gpseq-1.0.Gpseq.ForkJoinTask
connect(sigName: "notify::g-type", callback: (...args: any[]) => void): number
on(sigName: "notify::g-type", callback: (...args: any[]) => void, after?: boolean): NodeJS.EventEmitter
once(sigName: "notify::g-type", callback: (...args: any[]) => void, after?: boolean): NodeJS.EventEmitter
off(sigName: "notify::g-type", callback: (...args: any[]) => void): NodeJS.EventEmitter
emit(sigName: "notify::g-type", ...args: any[]): void
connect(sigName: "notify::g-dup-func", callback: (...args: any[]) => void): number
on(sigName: "notify::g-dup-func", callback: (...args: any[]) => void, after?: boolean): NodeJS.EventEmitter
once(sigName: "notify::g-dup-func", callback: (...args: any[]) => void, after?: boolean): NodeJS.EventEmitter
off(sigName: "notify::g-dup-func", callback: (...args: any[]) => void): NodeJS.EventEmitter
emit(sigName: "notify::g-dup-func", ...args: any[]): void
connect(sigName: "notify::g-destroy-func", callback: (...args: any[]) => void): number
on(sigName: "notify::g-destroy-func", callback: (...args: any[]) => void, after?: boolean): NodeJS.EventEmitter
once(sigName: "notify::g-destroy-func", callback: (...args: any[]) => void, after?: boolean): NodeJS.EventEmitter
off(sigName: "notify::g-destroy-func", callback: (...args: any[]) => void): NodeJS.EventEmitter
emit(sigName: "notify::g-destroy-func", ...args: any[]): void
connect(sigName: "notify::parent", callback: (...args: any[]) => void): number
on(sigName: "notify::parent", callback: (...args: any[]) => void, after?: boolean): NodeJS.EventEmitter
once(sigName: "notify::parent", callback: (...args: any[]) => void, after?: boolean): NodeJS.EventEmitter
off(sigName: "notify::parent", callback: (...args: any[]) => void): NodeJS.EventEmitter
emit(sigName: "notify::parent", ...args: any[]): void
connect(sigName: "notify::root", callback: (...args: any[]) => void): number
on(sigName: "notify::root", callback: (...args: any[]) => void, after?: boolean): NodeJS.EventEmitter
once(sigName: "notify::root", callback: (...args: any[]) => void, after?: boolean): NodeJS.EventEmitter
off(sigName: "notify::root", callback: (...args: any[]) => void): NodeJS.EventEmitter
emit(sigName: "notify::root", ...args: any[]): void
connect(sigName: "notify::is-root", callback: (...args: any[]) => void): number
on(sigName: "notify::is-root", callback: (...args: any[]) => void, after?: boolean): NodeJS.EventEmitter
once(sigName: "notify::is-root", callback: (...args: any[]) => void, after?: boolean): NodeJS.EventEmitter
off(sigName: "notify::is-root", callback: (...args: any[]) => void): NodeJS.EventEmitter
emit(sigName: "notify::is-root", ...args: any[]): void
connect(sigName: "notify::threshold", callback: (...args: any[]) => void): number
on(sigName: "notify::threshold", callback: (...args: any[]) => void, after?: boolean): NodeJS.EventEmitter
once(sigName: "notify::threshold", callback: (...args: any[]) => void, after?: boolean): NodeJS.EventEmitter
off(sigName: "notify::threshold", callback: (...args: any[]) => void): NodeJS.EventEmitter
emit(sigName: "notify::threshold", ...args: any[]): void
connect(sigName: "notify::max-depth", callback: (...args: any[]) => void): number
on(sigName: "notify::max-depth", callback: (...args: any[]) => void, after?: boolean): NodeJS.EventEmitter
once(sigName: "notify::max-depth", callback: (...args: any[]) => void, after?: boolean): NodeJS.EventEmitter
off(sigName: "notify::max-depth", callback: (...args: any[]) => void): NodeJS.EventEmitter
emit(sigName: "notify::max-depth", ...args: any[]): void
connect(sigName: "notify::depth", callback: (...args: any[]) => void): number
on(sigName: "notify::depth", callback: (...args: any[]) => void, after?: boolean): NodeJS.EventEmitter
once(sigName: "notify::depth", callback: (...args: any[]) => void, after?: boolean): NodeJS.EventEmitter
off(sigName: "notify::depth", callback: (...args: any[]) => void): NodeJS.EventEmitter
emit(sigName: "notify::depth", ...args: any[]): void
connect(sigName: "notify::executor", callback: (...args: any[]) => void): number
on(sigName: "notify::executor", callback: (...args: any[]) => void, after?: boolean): NodeJS.EventEmitter
once(sigName: "notify::executor", callback: (...args: any[]) => void, after?: boolean): NodeJS.EventEmitter
off(sigName: "notify::executor", callback: (...args: any[]) => void): NodeJS.EventEmitter
emit(sigName: "notify::executor", ...args: any[]): void
connect(sigName: "notify::promise", callback: (...args: any[]) => void): number
on(sigName: "notify::promise", callback: (...args: any[]) => void, after?: boolean): NodeJS.EventEmitter
once(sigName: "notify::promise", callback: (...args: any[]) => void, after?: boolean): NodeJS.EventEmitter
off(sigName: "notify::promise", callback: (...args: any[]) => void): NodeJS.EventEmitter
emit(sigName: "notify::promise", ...args: any[]): void
connect(sigName: "notify::shared-result", callback: (...args: any[]) => void): number
on(sigName: "notify::shared-result", callback: (...args: any[]) => void, after?: boolean): NodeJS.EventEmitter
once(sigName: "notify::shared-result", callback: (...args: any[]) => void, after?: boolean): NodeJS.EventEmitter
off(sigName: "notify::shared-result", callback: (...args: any[]) => void): NodeJS.EventEmitter
emit(sigName: "notify::shared-result", ...args: any[]): void
connect(sigName: "notify::is-cancelled", callback: (...args: any[]) => void): number
on(sigName: "notify::is-cancelled", callback: (...args: any[]) => void, after?: boolean): NodeJS.EventEmitter
once(sigName: "notify::is-cancelled", callback: (...args: any[]) => void, after?: boolean): NodeJS.EventEmitter
off(sigName: "notify::is-cancelled", callback: (...args: any[]) => void): NodeJS.EventEmitter
emit(sigName: "notify::is-cancelled", ...args: any[]): void
connect(sigName: "notify::future", callback: (...args: any[]) => void): number
on(sigName: "notify::future", callback: (...args: any[]) => void, after?: boolean): NodeJS.EventEmitter
once(sigName: "notify::future", callback: (...args: any[]) => void, after?: boolean): NodeJS.EventEmitter
off(sigName: "notify::future", callback: (...args: any[]) => void): NodeJS.EventEmitter
emit(sigName: "notify::future", ...args: any[]): void
connect(sigName: string, callback: (...args: any[]) => void): number
on(sigName: string, callback: (...args: any[]) => void, after?: boolean): NodeJS.EventEmitter
once(sigName: string, callback: (...args: any[]) => void, after?: boolean): NodeJS.EventEmitter
off(sigName: string, callback: (...args: any[]) => void): NodeJS.EventEmitter
emit(sigName: string, ...args: any[]): void
}
class ForkJoinTask extends GObject.Object {
// Own properties of Gpseq-1.0.Gpseq.ForkJoinTask
static name: string
static $gtype: GObject.GType<ForkJoinTask>
// Constructors of Gpseq-1.0.Gpseq.ForkJoinTask
constructor(config?: ForkJoinTask_ConstructProps)
_init(config?: ForkJoinTask_ConstructProps): void
}
interface ForkJoinTaskSharedResult {
// Own fields of Gpseq-1.0.Gpseq.ForkJoinTaskSharedResult
refCount: number
// Owm methods of Gpseq-1.0.Gpseq.ForkJoinTaskSharedResult
getReady(): boolean
getValue(): object | null
setValue(value?: object | null): void
getError(): GLib.Error | null
setError(value?: GLib.Error | null): void
bakePromise(promise: Promise): void
}
class ForkJoinTaskSharedResult {
// Own properties of Gpseq-1.0.Gpseq.ForkJoinTaskSharedResult
static name: string
// Constructors of Gpseq-1.0.Gpseq.ForkJoinTaskSharedResult
constructor(gType: GObject.GType, gDupFunc: GObject.BoxedCopyFunc, gDestroyFunc: GLib.DestroyNotify)
static new(gType: GObject.GType, gDupFunc: GObject.BoxedCopyFunc, gDestroyFunc: GLib.DestroyNotify): ForkJoinTaskSharedResult
}
interface FuncTask_ConstructProps extends Task_ConstructProps, GObject.Object_ConstructProps {
// Own constructor properties of Gpseq-1.0.Gpseq.FuncTask
gType?: GObject.GType | null
gDupFunc?: GObject.BoxedCopyFunc | null
gDestroyFunc?: GLib.DestroyNotify | null
}
interface FuncTask extends Task {
// Own properties of Gpseq-1.0.Gpseq.FuncTask
readonly gType: GObject.GType
readonly gDupFunc: GObject.BoxedCopyFunc
readonly gDestroyFunc: GLib.DestroyNotify
// Class property signals of Gpseq-1.0.Gpseq.FuncTask
connect(sigName: "notify::g-type", callback: (...args: any[]) => void): number
on(sigName: "notify::g-type", callback: (...args: any[]) => void, after?: boolean): NodeJS.EventEmitter
once(sigName: "notify::g-type", callback: (...args: any[]) => void, after?: boolean): NodeJS.EventEmitter
off(sigName: "notify::g-type", callback: (...args: any[]) => void): NodeJS.EventEmitter
emit(sigName: "notify::g-type", ...args: any[]): void
connect(sigName: "notify::g-dup-func", callback: (...args: any[]) => void): number
on(sigName: "notify::g-dup-func", callback: (...args: any[]) => void, after?: boolean): NodeJS.EventEmitter
once(sigName: "notify::g-dup-func", callback: (...args: any[]) => void, after?: boolean): NodeJS.EventEmitter
off(sigName: "notify::g-dup-func", callback: (...args: any[]) => void): NodeJS.EventEmitter
emit(sigName: "notify::g-dup-func", ...args: any[]): void
connect(sigName: "notify::g-destroy-func", callback: (...args: any[]) => void): number
on(sigName: "notify::g-destroy-func", callback: (...args: any[]) => void, after?: boolean): NodeJS.EventEmitter
once(sigName: "notify::g-destroy-func", callback: (...args: any[]) => void, after?: boolean): NodeJS.EventEmitter
off(sigName: "notify::g-destroy-func", callback: (...args: any[]) => void): NodeJS.EventEmitter
emit(sigName: "notify::g-destroy-func", ...args: any[]): void
connect(sigName: "notify::future", callback: (...args: any[]) => void): number
on(sigName: "notify::future", callback: (...args: any[]) => void, after?: boolean): NodeJS.EventEmitter
once(sigName: "notify::future", callback: (...args: any[]) => void, after?: boolean): NodeJS.EventEmitter
off(sigName: "notify::future", callback: (...args: any[]) => void): NodeJS.EventEmitter
emit(sigName: "notify::future", ...args: any[]): void
connect(sigName: string, callback: (...args: any[]) => void): number
on(sigName: string, callback: (...args: any[]) => void, after?: boolean): NodeJS.EventEmitter
once(sigName: string, callback: (...args: any[]) => void, after?: boolean): NodeJS.EventEmitter
off(sigName: string, callback: (...args: any[]) => void): NodeJS.EventEmitter
emit(sigName: string, ...args: any[]): void
}
class FuncTask extends GObject.Object {
// Own properties of Gpseq-1.0.Gpseq.FuncTask
static name: string
static $gtype: GObject.GType<FuncTask>
// Constructors of Gpseq-1.0.Gpseq.FuncTask
constructor(config?: FuncTask_ConstructProps)
constructor(gType: GObject.GType, gDupFunc: GObject.BoxedCopyFunc, gDestroyFunc: GLib.DestroyNotify, func: TaskFunc)
static new(gType: GObject.GType, gDupFunc: GObject.BoxedCopyFunc, gDestroyFunc: GLib.DestroyNotify, func: TaskFunc): FuncTask
_init(config?: FuncTask_ConstructProps): void
}
interface Future_ConstructProps extends Gee.Hashable_ConstructProps, Result_ConstructProps, GObject.Object_ConstructProps {
// Own constructor properties of Gpseq-1.0.Gpseq.Future
gType?: GObject.GType | null
gDupFunc?: GObject.BoxedCopyFunc | null
gDestroyFunc?: GLib.DestroyNotify | null
}
interface Future extends Gee.Hashable, Result {
// Own properties of Gpseq-1.0.Gpseq.Future
readonly gType: GObject.GType
readonly gDupFunc: GObject.BoxedCopyFunc
readonly gDestroyFunc: GLib.DestroyNotify
readonly ready: boolean
// Owm methods of Gpseq-1.0.Gpseq.Future
getReady(): boolean
wait(): object | null
waitUntil(endTime: number): [ /* returnType */ boolean, /* value */ object | null ]
transform(aType: GObject.GType, aDupFunc: GObject.BoxedCopyFunc, aDestroyFunc: GLib.DestroyNotify, func: any): Result
// Class property signals of Gpseq-1.0.Gpseq.Future
connect(sigName: "notify::g-type", callback: (...args: any[]) => void): number
on(sigName: "notify::g-type", callback: (...args: any[]) => void, after?: boolean): NodeJS.EventEmitter
once(sigName: "notify::g-type", callback: (...args: any[]) => void, after?: boolean): NodeJS.EventEmitter
off(sigName: "notify::g-type", callback: (...args: any[]) => void): NodeJS.EventEmitter
emit(sigName: "notify::g-type", ...args: any[]): void
connect(sigName: "notify::g-dup-func", callback: (...args: any[]) => void): number
on(sigName: "notify::g-dup-func", callback: (...args: any[]) => void, after?: boolean): NodeJS.EventEmitter
once(sigName: "notify::g-dup-func", callback: (...args: any[]) => void, after?: boolean): NodeJS.EventEmitter
off(sigName: "notify::g-dup-func", callback: (...args: any[]) => void): NodeJS.EventEmitter
emit(sigName: "notify::g-dup-func", ...args: any[]): void
connect(sigName: "notify::g-destroy-func", callback: (...args: any[]) => void): number
on(sigName: "notify::g-destroy-func", callback: (...args: any[]) => void, after?: boolean): NodeJS.EventEmitter
once(sigName: "notify::g-destroy-func", callback: (...args: any[]) => void, after?: boolean): NodeJS.EventEmitter
off(sigName: "notify::g-destroy-func", callback: (...args: any[]) => void): NodeJS.EventEmitter
emit(sigName: "notify::g-destroy-func", ...args: any[]): void
connect(sigName: "notify::ready", callback: (...args: any[]) => void): number
on(sigName: "notify::ready", callback: (...args: any[]) => void, after?: boolean): NodeJS.EventEmitter
once(sigName: "notify::ready", callback: (...args: any[]) => void, after?: boolean): NodeJS.EventEmitter
off(sigName: "notify::ready", callback: (...args: any[]) => void): NodeJS.EventEmitter
emit(sigName: "notify::ready", ...args: any[]): void
connect(sigName: string, callback: (...args: any[]) => void): number
on(sigName: string, callback: (...args: any[]) => void, after?: boolean): NodeJS.EventEmitter
once(sigName: string, callback: (...args: any[]) => void, after?: boolean): NodeJS.EventEmitter
off(sigName: string, callback: (...args: any[]) => void): NodeJS.EventEmitter
emit(sigName: string, ...args: any[]): void
}
class Future extends GObject.Object {
// Own properties of Gpseq-1.0.Gpseq.Future
static name: string
static $gtype: GObject.GType<Future>
// Constructors of Gpseq-1.0.Gpseq.Future
constructor(config?: Future_ConstructProps)
_init(config?: Future_ConstructProps): void
static of(gType: GObject.GType, gDupFunc?: GObject.BoxedCopyFunc, gDestroyFunc?: GLib.DestroyNotify, value?: object | null): Future
// Overloads of of
static of(gType: GObject.GType, gDupFunc?: GObject.BoxedCopyFunc, gDestroyFunc?: GLib.DestroyNotify, value?: object | null): Result
static of(...args: any[]): any
static of(args_or_gType: any[] | GObject.GType, gDupFunc?: GObject.BoxedCopyFunc, gDestroyFunc?: GLib.DestroyNotify, value?: object | null): Future | Result | any
static err(gType: GObject.GType, gDupFunc?: GObject.BoxedCopyFunc, gDestroyFunc?: GLib.DestroyNotify, exception?: GLib.Error): Future
// Overloads of err
static err(gType: GObject.GType, gDupFunc?: GObject.BoxedCopyFunc, gDestroyFunc?: GLib.DestroyNotify, exception?: GLib.Error): Result
static err(...args: any[]): any
static err(args_or_gType: any[] | GObject.GType, gDupFunc?: GObject.BoxedCopyFunc, gDestroyFunc?: GLib.DestroyNotify, exception?: GLib.Error): Future | Result | any
static done(gType: GObject.GType, gDupFunc: GObject.BoxedCopyFunc, gDestroyFunc: GLib.DestroyNotify, result: Result): Future
}
interface GenericArraySpliterator_ConstructProps extends Spliterator_ConstructProps, GObject.Object_ConstructProps {
// Own constructor properties of Gpseq-1.0.Gpseq.GenericArraySpliterator
gType?: GObject.GType | null
gDupFunc?: GObject.BoxedCopyFunc | null
gDestroyFunc?: GLib.DestroyNotify | null
}
interface GenericArraySpliterator extends Spliterator {
// Own properties of Gpseq-1.0.Gpseq.GenericArraySpliterator
readonly gType: GObject.GType
readonly gDupFunc: GObject.BoxedCopyFunc
readonly gDestroyFunc: GLib.DestroyNotify
// Class property signals of Gpseq-1.0.Gpseq.GenericArraySpliterator
connect(sigName: "notify::g-type", callback: (...args: any[]) => void): number
on(sigName: "notify::g-type", callback: (...args: any[]) => void, after?: boolean): NodeJS.EventEmitter
once(sigName: "notify::g-type", callback: (...args: any[]) => void, after?: boolean): NodeJS.EventEmitter
off(sigName: "notify::g-type", callback: (...args: any[]) => void): NodeJS.EventEmitter
emit(sigName: "notify::g-type", ...args: any[]): void
connect(sigName: "notify::g-dup-func", callback: (...args: any[]) => void): number
on(sigName: "notify::g-dup-func", callback: (...args: any[]) => void, after?: boolean): NodeJS.EventEmitter
once(sigName: "notify::g-dup-func", callback: (...args: any[]) => void, after?: boolean): NodeJS.EventEmitter
off(sigName: "notify::g-dup-func", callback: (...args: any[]) => void): NodeJS.EventEmitter
emit(sigName: "notify::g-dup-func", ...args: any[]): void
connect(sigName: "notify::g-destroy-func", callback: (...args: any[]) => void): number