@girs/gpseq-1.0 1.0.0-3.0.0-beta.12

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,2742 @@
1
+
2
+ /*
3
+ * Type Definitions for Gjs (https://gjs.guide/)
4
+ *
5
+ * These type definitions are automatically generated, do not edit them by hand.
6
+ * If you found a bug fix it in `ts-for-gir` or create a bug report on https://github.com/gjsify/ts-for-gjs
7
+ */
8
+ /**
9
+ * Gpseq-1.0
10
+ */
11
+
12
+ import type Gee from '@girs/gee-0.8';
13
+ import type Gio from '@girs/gio-2.0';
14
+ import type GObject from '@girs/gobject-2.0';
15
+ import type GLib from '@girs/glib-2.0';
16
+
17
+ export enum ChannelError {
18
+ CLOSED,
19
+ TIMEOUT,
20
+ TRY_FAILED,
21
+ }
22
+ export enum MapError {
23
+ DUPLICATE_KEY,
24
+ }
25
+ export enum OptionalError {
26
+ NOT_PRESENT,
27
+ }
28
+ export enum CollectorFeatures {
29
+ CONCURRENT,
30
+ UNORDERED,
31
+ }
32
+ export function collectors_to_generic_array(g_type: GObject.GType, g_dup_func: GObject.BoxedCopyFunc, g_destroy_func: GLib.DestroyNotify): Collector
33
+ export function collectors_to_collection(g_type: GObject.GType, g_dup_func: GObject.BoxedCopyFunc, g_destroy_func: GLib.DestroyNotify, factory: Supplier): Collector
34
+ export function collectors_to_list(g_type: GObject.GType, g_dup_func: GObject.BoxedCopyFunc, g_destroy_func: GLib.DestroyNotify): Collector
35
+ export function collectors_to_set(g_type: GObject.GType, g_dup_func: GObject.BoxedCopyFunc, g_destroy_func: GLib.DestroyNotify, hash: Gee.HashDataFunc | null, equal: Gee.EqualDataFunc | null): Collector
36
+ export function collectors_to_map(k_type: GObject.GType, k_dup_func: GObject.BoxedCopyFunc, k_destroy_func: GLib.DestroyNotify, v_type: GObject.GType, v_dup_func: GObject.BoxedCopyFunc, v_destroy_func: GLib.DestroyNotify, g_type: GObject.GType, g_dup_func: GObject.BoxedCopyFunc, g_destroy_func: GLib.DestroyNotify, key_mapper: MapFunc, val_mapper: MapFunc, merger: CombineFunc | null, key_hash: Gee.HashDataFunc | null, key_equal: Gee.EqualDataFunc | null, value_equal: Gee.EqualDataFunc | null): Collector
37
+ export function collectors_sum_int(g_type: GObject.GType, g_dup_func: GObject.BoxedCopyFunc, g_destroy_func: GLib.DestroyNotify, mapper: MapFunc): Collector
38
+ export function collectors_sum_uint(g_type: GObject.GType, g_dup_func: GObject.BoxedCopyFunc, g_destroy_func: GLib.DestroyNotify, mapper: MapFunc): Collector
39
+ export function collectors_sum_long(g_type: GObject.GType, g_dup_func: GObject.BoxedCopyFunc, g_destroy_func: GLib.DestroyNotify, mapper: MapFunc): Collector
40
+ export function collectors_sum_ulong(g_type: GObject.GType, g_dup_func: GObject.BoxedCopyFunc, g_destroy_func: GLib.DestroyNotify, mapper: MapFunc): Collector
41
+ export function collectors_sum_float(g_type: GObject.GType, g_dup_func: GObject.BoxedCopyFunc, g_destroy_func: GLib.DestroyNotify, mapper: MapFunc): Collector
42
+ export function collectors_sum_double(g_type: GObject.GType, g_dup_func: GObject.BoxedCopyFunc, g_destroy_func: GLib.DestroyNotify, mapper: MapFunc): Collector
43
+ export function collectors_sum_int32(g_type: GObject.GType, g_dup_func: GObject.BoxedCopyFunc, g_destroy_func: GLib.DestroyNotify, mapper: MapFunc): Collector
44
+ export function collectors_sum_uint32(g_type: GObject.GType, g_dup_func: GObject.BoxedCopyFunc, g_destroy_func: GLib.DestroyNotify, mapper: MapFunc): Collector
45
+ export function collectors_sum_int64(g_type: GObject.GType, g_dup_func: GObject.BoxedCopyFunc, g_destroy_func: GLib.DestroyNotify, mapper: MapFunc): Collector
46
+ export function collectors_sum_uint64(g_type: GObject.GType, g_dup_func: GObject.BoxedCopyFunc, g_destroy_func: GLib.DestroyNotify, mapper: MapFunc): Collector
47
+ export function collectors_average_float(g_type: GObject.GType, g_dup_func: GObject.BoxedCopyFunc, g_destroy_func: GLib.DestroyNotify, mapper: MapFunc): Collector
48
+ export function collectors_average_double(g_type: GObject.GType, g_dup_func: GObject.BoxedCopyFunc, g_destroy_func: GLib.DestroyNotify, mapper: MapFunc): Collector
49
+ export function collectors_group_by(k_type: GObject.GType, k_dup_func: GObject.BoxedCopyFunc, k_destroy_func: GLib.DestroyNotify, g_type: GObject.GType, g_dup_func: GObject.BoxedCopyFunc, g_destroy_func: GLib.DestroyNotify, classifier: MapFunc): Collector
50
+ export function collectors_group_by_with(k_type: GObject.GType, k_dup_func: GObject.BoxedCopyFunc, k_destroy_func: GLib.DestroyNotify, v_type: GObject.GType, v_dup_func: GObject.BoxedCopyFunc, v_destroy_func: GLib.DestroyNotify, g_type: GObject.GType, g_dup_func: GObject.BoxedCopyFunc, g_destroy_func: GLib.DestroyNotify, classifier: MapFunc, downstream: Collector): Collector
51
+ export function collectors_partition(g_type: GObject.GType, g_dup_func: GObject.BoxedCopyFunc, g_destroy_func: GLib.DestroyNotify, pred: Predicate): Collector
52
+ export function collectors_partition_with(v_type: GObject.GType, v_dup_func: GObject.BoxedCopyFunc, v_destroy_func: GLib.DestroyNotify, g_type: GObject.GType, g_dup_func: GObject.BoxedCopyFunc, g_destroy_func: GLib.DestroyNotify, pred: Predicate, downstream: Collector): Collector
53
+ export function collectors_max(g_type: GObject.GType, g_dup_func: GObject.BoxedCopyFunc, g_destroy_func: GLib.DestroyNotify, compare: GLib.CompareDataFunc | null): Collector
54
+ export function collectors_min(g_type: GObject.GType, g_dup_func: GObject.BoxedCopyFunc, g_destroy_func: GLib.DestroyNotify, compare: GLib.CompareDataFunc | null): Collector
55
+ export function collectors_count(g_type: GObject.GType, g_dup_func: GObject.BoxedCopyFunc, g_destroy_func: GLib.DestroyNotify): Collector
56
+ export function collectors_fold(a_type: GObject.GType, a_dup_func: GObject.BoxedCopyFunc, a_destroy_func: GLib.DestroyNotify, g_type: GObject.GType, g_dup_func: GObject.BoxedCopyFunc, g_destroy_func: GLib.DestroyNotify, accumulator: FoldFunc, combiner: CombineFunc, identity?: any | null): Collector
57
+ export function collectors_reduce(g_type: GObject.GType, g_dup_func: GObject.BoxedCopyFunc, g_destroy_func: GLib.DestroyNotify, accumulator: CombineFunc): Collector
58
+ export function collectors_join(delimiter: string | null): Collector
59
+ export function collectors_filter(a_type: GObject.GType, a_dup_func: GObject.BoxedCopyFunc, a_destroy_func: GLib.DestroyNotify, g_type: GObject.GType, g_dup_func: GObject.BoxedCopyFunc, g_destroy_func: GLib.DestroyNotify, pred: Predicate, downstream: Collector): Collector
60
+ export function collectors_tee(a_type: GObject.GType, a_dup_func: GObject.BoxedCopyFunc, a_destroy_func: GLib.DestroyNotify, g_type: GObject.GType, g_dup_func: GObject.BoxedCopyFunc, g_destroy_func: GLib.DestroyNotify, downstreams: Collector[], merger: TeeMergeFunc): Collector
61
+ export function collectors_map(r_type: GObject.GType, r_dup_func: GObject.BoxedCopyFunc, r_destroy_func: GLib.DestroyNotify, a_type: GObject.GType, a_dup_func: GObject.BoxedCopyFunc, a_destroy_func: GLib.DestroyNotify, g_type: GObject.GType, g_dup_func: GObject.BoxedCopyFunc, g_destroy_func: GLib.DestroyNotify, mapper: MapFunc, downstream: Collector): Collector
62
+ export function collectors_wrap(a_type: GObject.GType, a_dup_func: GObject.BoxedCopyFunc, a_destroy_func: GLib.DestroyNotify, g_type: GObject.GType, g_dup_func: GObject.BoxedCopyFunc, g_destroy_func: GLib.DestroyNotify, collector: Collector): Collector
63
+ export function compares_reverse(g_type: GObject.GType, g_dup_func: GObject.BoxedCopyFunc, g_destroy_func: GLib.DestroyNotify, cmp: GLib.CompareDataFunc | null): [ /* returnType */ GLib.CompareDataFunc, /* result_target */ any | null, /* result_target_destroy_notify */ GLib.DestroyNotify ]
64
+ export function compares_join(g_type: GObject.GType, g_dup_func: GObject.BoxedCopyFunc, g_destroy_func: GLib.DestroyNotify, cmp: GLib.CompareDataFunc, cmp2: GLib.CompareDataFunc): [ /* returnType */ GLib.CompareDataFunc, /* result_target */ any | null, /* result_target_destroy_notify */ GLib.DestroyNotify ]
65
+ export function overflow_int_add(a: number, b: number): [ /* returnType */ boolean, /* result */ number ]
66
+ export function overflow_int_sub(a: number, b: number): [ /* returnType */ boolean, /* result */ number ]
67
+ export function overflow_int_mul(a: number, b: number): [ /* returnType */ boolean, /* result */ number ]
68
+ export function overflow_long_add(a: number, b: number): [ /* returnType */ boolean, /* result */ number ]
69
+ export function overflow_long_sub(a: number, b: number): [ /* returnType */ boolean, /* result */ number ]
70
+ export function overflow_long_mul(a: number, b: number): [ /* returnType */ boolean, /* result */ number ]
71
+ export function overflow_int32_add(a: number, b: number): [ /* returnType */ boolean, /* result */ number ]
72
+ export function overflow_int32_sub(a: number, b: number): [ /* returnType */ boolean, /* result */ number ]
73
+ export function overflow_int32_mul(a: number, b: number): [ /* returnType */ boolean, /* result */ number ]
74
+ export function overflow_int64_add(a: number, b: number): [ /* returnType */ boolean, /* result */ number ]
75
+ export function overflow_int64_sub(a: number, b: number): [ /* returnType */ boolean, /* result */ number ]
76
+ export function overflow_int64_mul(a: number, b: number): [ /* returnType */ boolean, /* result */ number ]
77
+ export function parallel_sort(g_type: GObject.GType, g_dup_func: GObject.BoxedCopyFunc, g_destroy_func: GLib.DestroyNotify, array: any[], compare: GLib.CompareDataFunc | null): Future
78
+ export function task(g_type: GObject.GType, g_dup_func: GObject.BoxedCopyFunc, g_destroy_func: GLib.DestroyNotify, func: TaskFunc): Future
79
+ export function run(func: VoidTaskFunc): Future
80
+ export function blocking(func: VoidTaskFunc): void
81
+ export function blocking_get(g_type: GObject.GType, g_dup_func: GObject.BoxedCopyFunc, g_destroy_func: GLib.DestroyNotify, func: TaskFunc): any | null
82
+ export function join(g_type: GObject.GType, g_dup_func: GObject.BoxedCopyFunc, g_destroy_func: GLib.DestroyNotify, left: TaskFunc): [ /* returnType */ any[], /* result_length1 */ number ]
83
+ export function atomic_int64_get(atomic: number): [ /* returnType */ number, /* atomic */ number ]
84
+ export function atomic_int64_set(atomic: number, newval: number): /* atomic */ number
85
+ export function atomic_int64_inc(atomic: number): /* atomic */ number
86
+ export function atomic_int64_dec_and_test(atomic: number): [ /* returnType */ boolean, /* atomic */ number ]
87
+ export function atomic_int64_compare_and_exchange(atomic: number, oldval: number, newval: number): [ /* returnType */ boolean, /* atomic */ number ]
88
+ export function atomic_int64_add(atomic: number, val: number): [ /* returnType */ number, /* atomic */ number ]
89
+ export function atomic_int64_and(atomic: number, val: number): [ /* returnType */ number, /* atomic */ number ]
90
+ export function atomic_int64_or(atomic: number, val: number): [ /* returnType */ number, /* atomic */ number ]
91
+ export function atomic_int64_xor(atomic: number, val: number): [ /* returnType */ number, /* atomic */ number ]
92
+ export interface CombineFunc {
93
+ (g_type: GObject.GType, g_dup_func: GObject.BoxedCopyFunc, g_destroy_func: GLib.DestroyNotify, a: any | null, b: any | null): any | null
94
+ }
95
+ export interface EachChunkFunc {
96
+ (g_type: GObject.GType, g_dup_func: GObject.BoxedCopyFunc, g_destroy_func: GLib.DestroyNotify, chunk: any[]): boolean
97
+ }
98
+ export interface FlatMapFunc {
99
+ (a_type: GObject.GType, a_dup_func: GObject.BoxedCopyFunc, a_destroy_func: GLib.DestroyNotify, g_type: GObject.GType, g_dup_func: GObject.BoxedCopyFunc, g_destroy_func: GLib.DestroyNotify, g: any | null): Gee.Iterator
100
+ }
101
+ export interface FoldFunc {
102
+ (a_type: GObject.GType, a_dup_func: GObject.BoxedCopyFunc, a_destroy_func: GLib.DestroyNotify, g_type: GObject.GType, g_dup_func: GObject.BoxedCopyFunc, g_destroy_func: GLib.DestroyNotify, g: any | null, a: any | null): any | null
103
+ }
104
+ export interface Func {
105
+ (g_type: GObject.GType, g_dup_func: GObject.BoxedCopyFunc, g_destroy_func: GLib.DestroyNotify, g: any | null): void
106
+ }
107
+ export interface MapFunc {
108
+ (a_type: GObject.GType, a_dup_func: GObject.BoxedCopyFunc, a_destroy_func: GLib.DestroyNotify, g_type: GObject.GType, g_dup_func: GObject.BoxedCopyFunc, g_destroy_func: GLib.DestroyNotify, g: any | null): any | null
109
+ }
110
+ export interface Predicate {
111
+ (g_type: GObject.GType, g_dup_func: GObject.BoxedCopyFunc, g_destroy_func: GLib.DestroyNotify, g: any | null): boolean
112
+ }
113
+ export interface SupplyFunc {
114
+ (g_type: GObject.GType, g_dup_func: GObject.BoxedCopyFunc, g_destroy_func: GLib.DestroyNotify): any | null
115
+ }
116
+ export interface TaskFunc {
117
+ (g_type: GObject.GType, g_dup_func: GObject.BoxedCopyFunc, g_destroy_func: GLib.DestroyNotify): any | null
118
+ }
119
+ export interface TeeMergeFunc {
120
+ (a_type: GObject.GType, a_dup_func: GObject.BoxedCopyFunc, a_destroy_func: GLib.DestroyNotify, results: GObject.Object[]): any | null
121
+ }
122
+ export interface VoidFunc {
123
+ (): void
124
+ }
125
+ export interface VoidTaskFunc {
126
+ (): void
127
+ }
128
+ export module Channel {
129
+
130
+ // Constructor properties interface
131
+
132
+ export interface ConstructorProperties extends Sender.ConstructorProperties, Receiver.ConstructorProperties, GObject.Object.ConstructorProperties {
133
+ }
134
+
135
+ }
136
+
137
+ export interface Channel extends Sender, Receiver {
138
+
139
+ // Class property signals of Gpseq-1.0.Gpseq.Channel
140
+
141
+ connect(sigName: "notify::capacity", callback: (($obj: Channel, pspec: GObject.ParamSpec) => void)): number
142
+ connect_after(sigName: "notify::capacity", callback: (($obj: Channel, pspec: GObject.ParamSpec) => void)): number
143
+ emit(sigName: "notify::capacity", ...args: any[]): void
144
+ connect(sigName: "notify::length", callback: (($obj: Channel, pspec: GObject.ParamSpec) => void)): number
145
+ connect_after(sigName: "notify::length", callback: (($obj: Channel, pspec: GObject.ParamSpec) => void)): number
146
+ emit(sigName: "notify::length", ...args: any[]): void
147
+ connect(sigName: string, callback: (...args: any[]) => void): number
148
+ connect_after(sigName: string, callback: (...args: any[]) => void): number
149
+ emit(sigName: string, ...args: any[]): void
150
+ disconnect(id: number): void
151
+ }
152
+
153
+ export class Channel extends GObject.Object {
154
+
155
+ // Own properties of Gpseq-1.0.Gpseq.Channel
156
+
157
+ static name: string
158
+ static $gtype: GObject.GType<Channel>
159
+
160
+ // Constructors of Gpseq-1.0.Gpseq.Channel
161
+
162
+ constructor(config?: Channel.ConstructorProperties)
163
+ _init(config?: Channel.ConstructorProperties): void
164
+ static bounded(g_type: GObject.GType, g_dup_func: GObject.BoxedCopyFunc, g_destroy_func: GLib.DestroyNotify, proposed_capacity: number): Channel
165
+ static unbounded(g_type: GObject.GType, g_dup_func: GObject.BoxedCopyFunc, g_destroy_func: GLib.DestroyNotify): Channel
166
+ }
167
+
168
+ export module ChannelBase {
169
+
170
+ // Constructor properties interface
171
+
172
+ export interface ConstructorProperties extends GObject.Object.ConstructorProperties {
173
+ }
174
+
175
+ }
176
+
177
+ export interface ChannelBase extends GObject.Object {
178
+
179
+ // Own properties of Gpseq-1.0.Gpseq.ChannelBase
180
+
181
+ readonly capacity: Optional
182
+ readonly length: number
183
+
184
+ // Owm methods of Gpseq-1.0.Gpseq.ChannelBase
185
+
186
+ get_capacity(): Optional
187
+ get_length(): number
188
+ get_is_full(): boolean
189
+ get_is_empty(): boolean
190
+ close(): void
191
+
192
+ // Own virtual methods of Gpseq-1.0.Gpseq.ChannelBase
193
+
194
+ vfunc_get_capacity(): Optional
195
+ vfunc_get_length(): number
196
+ vfunc_get_is_full(): boolean
197
+ vfunc_get_is_empty(): boolean
198
+ vfunc_close(): void
199
+
200
+ // Class property signals of Gpseq-1.0.Gpseq.ChannelBase
201
+
202
+ connect(sigName: "notify::capacity", callback: (($obj: ChannelBase, pspec: GObject.ParamSpec) => void)): number
203
+ connect_after(sigName: "notify::capacity", callback: (($obj: ChannelBase, pspec: GObject.ParamSpec) => void)): number
204
+ emit(sigName: "notify::capacity", ...args: any[]): void
205
+ connect(sigName: "notify::length", callback: (($obj: ChannelBase, pspec: GObject.ParamSpec) => void)): number
206
+ connect_after(sigName: "notify::length", callback: (($obj: ChannelBase, pspec: GObject.ParamSpec) => void)): number
207
+ emit(sigName: "notify::length", ...args: any[]): void
208
+ connect(sigName: string, callback: (...args: any[]) => void): number
209
+ connect_after(sigName: string, callback: (...args: any[]) => void): number
210
+ emit(sigName: string, ...args: any[]): void
211
+ disconnect(id: number): void
212
+ }
213
+
214
+ export class ChannelBase {
215
+
216
+ // Own properties of Gpseq-1.0.Gpseq.ChannelBase
217
+
218
+ static name: string
219
+ static $gtype: GObject.GType<ChannelBase>
220
+
221
+ // Constructors of Gpseq-1.0.Gpseq.ChannelBase
222
+
223
+ constructor(config?: ChannelBase.ConstructorProperties)
224
+ _init(config?: ChannelBase.ConstructorProperties): void
225
+ }
226
+
227
+ export module Collector {
228
+
229
+ // Constructor properties interface
230
+
231
+ export interface ConstructorProperties extends GObject.Object.ConstructorProperties {
232
+ }
233
+
234
+ }
235
+
236
+ export interface Collector extends GObject.Object {
237
+
238
+ // Own properties of Gpseq-1.0.Gpseq.Collector
239
+
240
+ readonly features: CollectorFeatures
241
+
242
+ // Owm methods of Gpseq-1.0.Gpseq.Collector
243
+
244
+ get_features(): CollectorFeatures
245
+ create_accumulator(): any | null
246
+ accumulate(g?: any | null, a?: any | null): void
247
+ combine(a?: any | null, b?: any | null): any | null
248
+ finish(a?: any | null): any | null
249
+
250
+ // Own virtual methods of Gpseq-1.0.Gpseq.Collector
251
+
252
+ vfunc_get_features(): CollectorFeatures
253
+ vfunc_create_accumulator(): any | null
254
+ vfunc_accumulate(g?: any | null, a?: any | null): void
255
+ vfunc_combine(a?: any | null, b?: any | null): any | null
256
+ vfunc_finish(a?: any | null): any | null
257
+
258
+ // Class property signals of Gpseq-1.0.Gpseq.Collector
259
+
260
+ connect(sigName: "notify::features", callback: (($obj: Collector, pspec: GObject.ParamSpec) => void)): number
261
+ connect_after(sigName: "notify::features", callback: (($obj: Collector, pspec: GObject.ParamSpec) => void)): number
262
+ emit(sigName: "notify::features", ...args: any[]): void
263
+ connect(sigName: string, callback: (...args: any[]) => void): number
264
+ connect_after(sigName: string, callback: (...args: any[]) => void): number
265
+ emit(sigName: string, ...args: any[]): void
266
+ disconnect(id: number): void
267
+ }
268
+
269
+ export class Collector {
270
+
271
+ // Own properties of Gpseq-1.0.Gpseq.Collector
272
+
273
+ static name: string
274
+ static $gtype: GObject.GType<Collector>
275
+
276
+ // Constructors of Gpseq-1.0.Gpseq.Collector
277
+
278
+ constructor(config?: Collector.ConstructorProperties)
279
+ _init(config?: Collector.ConstructorProperties): void
280
+ }
281
+
282
+ export module Executor {
283
+
284
+ // Constructor properties interface
285
+
286
+ export interface ConstructorProperties extends GObject.Object.ConstructorProperties {
287
+ }
288
+
289
+ }
290
+
291
+ export interface Executor extends GObject.Object {
292
+
293
+ // Own properties of Gpseq-1.0.Gpseq.Executor
294
+
295
+ readonly parallels: number
296
+
297
+ // Owm methods of Gpseq-1.0.Gpseq.Executor
298
+
299
+ submit(task: Task): void
300
+ get_parallels(): number
301
+
302
+ // Own virtual methods of Gpseq-1.0.Gpseq.Executor
303
+
304
+ vfunc_submit(task: Task): void
305
+ vfunc_get_parallels(): number
306
+
307
+ // Class property signals of Gpseq-1.0.Gpseq.Executor
308
+
309
+ connect(sigName: "notify::parallels", callback: (($obj: Executor, pspec: GObject.ParamSpec) => void)): number
310
+ connect_after(sigName: "notify::parallels", callback: (($obj: Executor, pspec: GObject.ParamSpec) => void)): number
311
+ emit(sigName: "notify::parallels", ...args: any[]): void
312
+ connect(sigName: string, callback: (...args: any[]) => void): number
313
+ connect_after(sigName: string, callback: (...args: any[]) => void): number
314
+ emit(sigName: string, ...args: any[]): void
315
+ disconnect(id: number): void
316
+ }
317
+
318
+ export class Executor {
319
+
320
+ // Own properties of Gpseq-1.0.Gpseq.Executor
321
+
322
+ static name: string
323
+ static $gtype: GObject.GType<Executor>
324
+
325
+ // Constructors of Gpseq-1.0.Gpseq.Executor
326
+
327
+ constructor(config?: Executor.ConstructorProperties)
328
+ _init(config?: Executor.ConstructorProperties): void
329
+ }
330
+
331
+ export module Receiver {
332
+
333
+ // Constructor properties interface
334
+
335
+ export interface ConstructorProperties extends ChannelBase.ConstructorProperties, Gee.Traversable.ConstructorProperties, GObject.Object.ConstructorProperties {
336
+ }
337
+
338
+ }
339
+
340
+ export interface Receiver extends ChannelBase, Gee.Traversable {
341
+
342
+ // Owm methods of Gpseq-1.0.Gpseq.Receiver
343
+
344
+ recv(): Result
345
+ recv_until(end_time: number): Result
346
+ try_recv(): Result
347
+
348
+ // Own virtual methods of Gpseq-1.0.Gpseq.Receiver
349
+
350
+ vfunc_recv(): Result
351
+ vfunc_recv_until(end_time: number): Result
352
+ vfunc_try_recv(): Result
353
+
354
+ // Class property signals of Gpseq-1.0.Gpseq.Receiver
355
+
356
+ connect(sigName: "notify::capacity", callback: (($obj: Receiver, pspec: GObject.ParamSpec) => void)): number
357
+ connect_after(sigName: "notify::capacity", callback: (($obj: Receiver, pspec: GObject.ParamSpec) => void)): number
358
+ emit(sigName: "notify::capacity", ...args: any[]): void
359
+ connect(sigName: "notify::length", callback: (($obj: Receiver, pspec: GObject.ParamSpec) => void)): number
360
+ connect_after(sigName: "notify::length", callback: (($obj: Receiver, pspec: GObject.ParamSpec) => void)): number
361
+ emit(sigName: "notify::length", ...args: any[]): void
362
+ connect(sigName: string, callback: (...args: any[]) => void): number
363
+ connect_after(sigName: string, callback: (...args: any[]) => void): number
364
+ emit(sigName: string, ...args: any[]): void
365
+ disconnect(id: number): void
366
+ }
367
+
368
+ export class Receiver extends GObject.Object {
369
+
370
+ // Own properties of Gpseq-1.0.Gpseq.Receiver
371
+
372
+ static name: string
373
+ static $gtype: GObject.GType<Receiver>
374
+
375
+ // Constructors of Gpseq-1.0.Gpseq.Receiver
376
+
377
+ constructor(config?: Receiver.ConstructorProperties)
378
+ _init(config?: Receiver.ConstructorProperties): void
379
+ }
380
+
381
+ export module Result {
382
+
383
+ // Constructor properties interface
384
+
385
+ export interface ConstructorProperties extends Gee.Hashable.ConstructorProperties, GObject.Object.ConstructorProperties {
386
+ }
387
+
388
+ }
389
+
390
+ export interface Result extends Gee.Hashable {
391
+
392
+ // Owm methods of Gpseq-1.0.Gpseq.Result
393
+
394
+ get_value_type(): GObject.GType
395
+ get_value(): any | null
396
+ get_exception(): GLib.Error | null
397
+ get_is_err(): boolean
398
+ ok(): Result
399
+ ok_with(expected: any | null, equal: Gee.EqualDataFunc | null): Result
400
+ future(): Future
401
+ get(): any | null
402
+ transform(a_type: GObject.GType, a_dup_func: GObject.BoxedCopyFunc, a_destroy_func: GLib.DestroyNotify, func: any): Result
403
+ flat_map(a_type: GObject.GType, a_dup_func: GObject.BoxedCopyFunc, a_destroy_func: GLib.DestroyNotify, func: any): Result
404
+ map(a_type: GObject.GType, a_dup_func: GObject.BoxedCopyFunc, a_destroy_func: GLib.DestroyNotify, func: any): Result
405
+ map_err(func: any): Result
406
+ zip(a_type: GObject.GType, a_dup_func: GObject.BoxedCopyFunc, a_destroy_func: GLib.DestroyNotify, b_type: GObject.GType, b_dup_func: GObject.BoxedCopyFunc, b_destroy_func: GLib.DestroyNotify, zip_func: any, second: Result): Result
407
+ then(func: GLib.Func): Result
408
+ and_then(func: Func): Result
409
+
410
+ // Own virtual methods of Gpseq-1.0.Gpseq.Result
411
+
412
+ vfunc_future(): Future
413
+ vfunc_get(): any | null
414
+ vfunc_transform(a_type: GObject.GType, a_dup_func: GObject.BoxedCopyFunc, a_destroy_func: GLib.DestroyNotify, func: any): Result
415
+ vfunc_flat_map(a_type: GObject.GType, a_dup_func: GObject.BoxedCopyFunc, a_destroy_func: GLib.DestroyNotify, func: any): Result
416
+ vfunc_map(a_type: GObject.GType, a_dup_func: GObject.BoxedCopyFunc, a_destroy_func: GLib.DestroyNotify, func: any): Result
417
+ vfunc_map_err(func: any): Result
418
+ vfunc_zip(a_type: GObject.GType, a_dup_func: GObject.BoxedCopyFunc, a_destroy_func: GLib.DestroyNotify, b_type: GObject.GType, b_dup_func: GObject.BoxedCopyFunc, b_destroy_func: GLib.DestroyNotify, zip_func: any, second: Result): Result
419
+ vfunc_then(func: GLib.Func): Result
420
+ vfunc_and_then(func: Func): Result
421
+
422
+ // Class property signals of Gpseq-1.0.Gpseq.Result
423
+
424
+ connect(sigName: string, callback: (...args: any[]) => void): number
425
+ connect_after(sigName: string, callback: (...args: any[]) => void): number
426
+ emit(sigName: string, ...args: any[]): void
427
+ disconnect(id: number): void
428
+ }
429
+
430
+ export class Result extends GObject.Object {
431
+
432
+ // Own properties of Gpseq-1.0.Gpseq.Result
433
+
434
+ static name: string
435
+ static $gtype: GObject.GType<Result>
436
+
437
+ // Constructors of Gpseq-1.0.Gpseq.Result
438
+
439
+ constructor(config?: Result.ConstructorProperties)
440
+ _init(config?: Result.ConstructorProperties): void
441
+ static of(g_type: GObject.GType, g_dup_func: GObject.BoxedCopyFunc, g_destroy_func: GLib.DestroyNotify, value?: any | null): Result
442
+ static err(g_type: GObject.GType, g_dup_func: GObject.BoxedCopyFunc, g_destroy_func: GLib.DestroyNotify, exception: GLib.Error): Result
443
+ }
444
+
445
+ export module Sender {
446
+
447
+ // Constructor properties interface
448
+
449
+ export interface ConstructorProperties extends ChannelBase.ConstructorProperties, GObject.Object.ConstructorProperties {
450
+ }
451
+
452
+ }
453
+
454
+ export interface Sender extends ChannelBase {
455
+
456
+ // Owm methods of Gpseq-1.0.Gpseq.Sender
457
+
458
+ send(data?: any | null): Result
459
+ send_until(data: any | null, end_time: number): Result
460
+ try_send(data?: any | null): Result
461
+
462
+ // Own virtual methods of Gpseq-1.0.Gpseq.Sender
463
+
464
+ vfunc_send(data?: any | null): Result
465
+ vfunc_send_until(data: any | null, end_time: number): Result
466
+ vfunc_try_send(data?: any | null): Result
467
+
468
+ // Class property signals of Gpseq-1.0.Gpseq.Sender
469
+
470
+ connect(sigName: "notify::capacity", callback: (($obj: Sender, pspec: GObject.ParamSpec) => void)): number
471
+ connect_after(sigName: "notify::capacity", callback: (($obj: Sender, pspec: GObject.ParamSpec) => void)): number
472
+ emit(sigName: "notify::capacity", ...args: any[]): void
473
+ connect(sigName: "notify::length", callback: (($obj: Sender, pspec: GObject.ParamSpec) => void)): number
474
+ connect_after(sigName: "notify::length", callback: (($obj: Sender, pspec: GObject.ParamSpec) => void)): number
475
+ emit(sigName: "notify::length", ...args: any[]): void
476
+ connect(sigName: string, callback: (...args: any[]) => void): number
477
+ connect_after(sigName: string, callback: (...args: any[]) => void): number
478
+ emit(sigName: string, ...args: any[]): void
479
+ disconnect(id: number): void
480
+ }
481
+
482
+ export class Sender extends GObject.Object {
483
+
484
+ // Own properties of Gpseq-1.0.Gpseq.Sender
485
+
486
+ static name: string
487
+ static $gtype: GObject.GType<Sender>
488
+
489
+ // Constructors of Gpseq-1.0.Gpseq.Sender
490
+
491
+ constructor(config?: Sender.ConstructorProperties)
492
+ _init(config?: Sender.ConstructorProperties): void
493
+ }
494
+
495
+ export module Spliterator {
496
+
497
+ // Constructor properties interface
498
+
499
+ export interface ConstructorProperties extends GObject.Object.ConstructorProperties {
500
+ }
501
+
502
+ }
503
+
504
+ export interface Spliterator extends GObject.Object {
505
+
506
+ // Own properties of Gpseq-1.0.Gpseq.Spliterator
507
+
508
+ readonly estimated_size: number
509
+ readonly is_size_known: boolean
510
+
511
+ // Owm methods of Gpseq-1.0.Gpseq.Spliterator
512
+
513
+ get_element_type(): GObject.GType
514
+ try_split(): Spliterator | null
515
+ try_advance(consumer: Func): boolean
516
+ get_estimated_size(): number
517
+ get_is_size_known(): boolean
518
+ each(f: Func): void
519
+ each_chunk(f: EachChunkFunc): boolean
520
+
521
+ // Own virtual methods of Gpseq-1.0.Gpseq.Spliterator
522
+
523
+ vfunc_try_split(): Spliterator | null
524
+ vfunc_try_advance(consumer: Func): boolean
525
+ vfunc_get_estimated_size(): number
526
+ vfunc_get_is_size_known(): boolean
527
+ vfunc_each(f: Func): void
528
+ vfunc_each_chunk(f: EachChunkFunc): boolean
529
+
530
+ // Class property signals of Gpseq-1.0.Gpseq.Spliterator
531
+
532
+ connect(sigName: "notify::estimated-size", callback: (($obj: Spliterator, pspec: GObject.ParamSpec) => void)): number
533
+ connect_after(sigName: "notify::estimated-size", callback: (($obj: Spliterator, pspec: GObject.ParamSpec) => void)): number
534
+ emit(sigName: "notify::estimated-size", ...args: any[]): void
535
+ connect(sigName: "notify::is-size-known", callback: (($obj: Spliterator, pspec: GObject.ParamSpec) => void)): number
536
+ connect_after(sigName: "notify::is-size-known", callback: (($obj: Spliterator, pspec: GObject.ParamSpec) => void)): number
537
+ emit(sigName: "notify::is-size-known", ...args: any[]): void
538
+ connect(sigName: string, callback: (...args: any[]) => void): number
539
+ connect_after(sigName: string, callback: (...args: any[]) => void): number
540
+ emit(sigName: string, ...args: any[]): void
541
+ disconnect(id: number): void
542
+ }
543
+
544
+ export class Spliterator {
545
+
546
+ // Own properties of Gpseq-1.0.Gpseq.Spliterator
547
+
548
+ static name: string
549
+ static $gtype: GObject.GType<Spliterator>
550
+
551
+ // Constructors of Gpseq-1.0.Gpseq.Spliterator
552
+
553
+ constructor(config?: Spliterator.ConstructorProperties)
554
+ _init(config?: Spliterator.ConstructorProperties): void
555
+ static empty(g_type: GObject.GType, g_dup_func: GObject.BoxedCopyFunc, g_destroy_func: GLib.DestroyNotify): Spliterator
556
+ }
557
+
558
+ export module Supplier {
559
+
560
+ // Constructor properties interface
561
+
562
+ export interface ConstructorProperties extends GObject.Object.ConstructorProperties {
563
+ }
564
+
565
+ }
566
+
567
+ export interface Supplier extends GObject.Object {
568
+
569
+ // Owm methods of Gpseq-1.0.Gpseq.Supplier
570
+
571
+ supply(): any | null
572
+
573
+ // Own virtual methods of Gpseq-1.0.Gpseq.Supplier
574
+
575
+ vfunc_supply(): any | null
576
+
577
+ // Class property signals of Gpseq-1.0.Gpseq.Supplier
578
+
579
+ connect(sigName: string, callback: (...args: any[]) => void): number
580
+ connect_after(sigName: string, callback: (...args: any[]) => void): number
581
+ emit(sigName: string, ...args: any[]): void
582
+ disconnect(id: number): void
583
+ }
584
+
585
+ export class Supplier {
586
+
587
+ // Own properties of Gpseq-1.0.Gpseq.Supplier
588
+
589
+ static name: string
590
+ static $gtype: GObject.GType<Supplier>
591
+
592
+ // Constructors of Gpseq-1.0.Gpseq.Supplier
593
+
594
+ constructor(config?: Supplier.ConstructorProperties)
595
+ _init(config?: Supplier.ConstructorProperties): void
596
+ static from_func(g_type: GObject.GType, g_dup_func: GObject.BoxedCopyFunc, g_destroy_func: GLib.DestroyNotify, func: SupplyFunc): Supplier
597
+ }
598
+
599
+ export module Task {
600
+
601
+ // Constructor properties interface
602
+
603
+ export interface ConstructorProperties extends GObject.Object.ConstructorProperties {
604
+ }
605
+
606
+ }
607
+
608
+ export interface Task extends GObject.Object {
609
+
610
+ // Own properties of Gpseq-1.0.Gpseq.Task
611
+
612
+ readonly future: Future
613
+
614
+ // Owm methods of Gpseq-1.0.Gpseq.Task
615
+
616
+ get_future(): Future
617
+ compute(): void
618
+ invoke(): void
619
+
620
+ // Own virtual methods of Gpseq-1.0.Gpseq.Task
621
+
622
+ vfunc_get_future(): Future
623
+ vfunc_compute(): void
624
+
625
+ // Class property signals of Gpseq-1.0.Gpseq.Task
626
+
627
+ connect(sigName: "notify::future", callback: (($obj: Task, pspec: GObject.ParamSpec) => void)): number
628
+ connect_after(sigName: "notify::future", callback: (($obj: Task, pspec: GObject.ParamSpec) => void)): number
629
+ emit(sigName: "notify::future", ...args: any[]): void
630
+ connect(sigName: string, callback: (...args: any[]) => void): number
631
+ connect_after(sigName: string, callback: (...args: any[]) => void): number
632
+ emit(sigName: string, ...args: any[]): void
633
+ disconnect(id: number): void
634
+ }
635
+
636
+ export class Task {
637
+
638
+ // Own properties of Gpseq-1.0.Gpseq.Task
639
+
640
+ static name: string
641
+ static $gtype: GObject.GType<Task>
642
+
643
+ // Constructors of Gpseq-1.0.Gpseq.Task
644
+
645
+ constructor(config?: Task.ConstructorProperties)
646
+ _init(config?: Task.ConstructorProperties): void
647
+ }
648
+
649
+ export module ThreadFactory {
650
+
651
+ // Constructor properties interface
652
+
653
+ export interface ConstructorProperties extends GObject.Object.ConstructorProperties {
654
+ }
655
+
656
+ }
657
+
658
+ export interface ThreadFactory extends GObject.Object {
659
+
660
+ // Owm methods of Gpseq-1.0.Gpseq.ThreadFactory
661
+
662
+ create_thread(pool: WorkerPool): WorkerThread
663
+
664
+ // Own virtual methods of Gpseq-1.0.Gpseq.ThreadFactory
665
+
666
+ vfunc_create_thread(pool: WorkerPool): WorkerThread
667
+
668
+ // Class property signals of Gpseq-1.0.Gpseq.ThreadFactory
669
+
670
+ connect(sigName: string, callback: (...args: any[]) => void): number
671
+ connect_after(sigName: string, callback: (...args: any[]) => void): number
672
+ emit(sigName: string, ...args: any[]): void
673
+ disconnect(id: number): void
674
+ }
675
+
676
+ export class ThreadFactory {
677
+
678
+ // Own properties of Gpseq-1.0.Gpseq.ThreadFactory
679
+
680
+ static name: string
681
+ static $gtype: GObject.GType<ThreadFactory>
682
+
683
+ // Constructors of Gpseq-1.0.Gpseq.ThreadFactory
684
+
685
+ constructor(config?: ThreadFactory.ConstructorProperties)
686
+ _init(config?: ThreadFactory.ConstructorProperties): void
687
+ }
688
+
689
+ export module ArraySpliterator {
690
+
691
+ // Constructor properties interface
692
+
693
+ export interface ConstructorProperties extends Spliterator.ConstructorProperties, GObject.Object.ConstructorProperties {
694
+
695
+ // Own constructor properties of Gpseq-1.0.Gpseq.ArraySpliterator
696
+
697
+ g_type?: GObject.GType | null
698
+ g_dup_func?: GObject.BoxedCopyFunc | null
699
+ g_destroy_func?: GLib.DestroyNotify | null
700
+ }
701
+
702
+ }
703
+
704
+ export interface ArraySpliterator extends Spliterator {
705
+
706
+ // Own properties of Gpseq-1.0.Gpseq.ArraySpliterator
707
+
708
+ readonly g_type: GObject.GType
709
+ readonly g_dup_func: GObject.BoxedCopyFunc
710
+ readonly g_destroy_func: GLib.DestroyNotify
711
+
712
+ // Class property signals of Gpseq-1.0.Gpseq.ArraySpliterator
713
+
714
+ connect(sigName: "notify::g-type", callback: (($obj: ArraySpliterator, pspec: GObject.ParamSpec) => void)): number
715
+ connect_after(sigName: "notify::g-type", callback: (($obj: ArraySpliterator, pspec: GObject.ParamSpec) => void)): number
716
+ emit(sigName: "notify::g-type", ...args: any[]): void
717
+ connect(sigName: "notify::g-dup-func", callback: (($obj: ArraySpliterator, pspec: GObject.ParamSpec) => void)): number
718
+ connect_after(sigName: "notify::g-dup-func", callback: (($obj: ArraySpliterator, pspec: GObject.ParamSpec) => void)): number
719
+ emit(sigName: "notify::g-dup-func", ...args: any[]): void
720
+ connect(sigName: "notify::g-destroy-func", callback: (($obj: ArraySpliterator, pspec: GObject.ParamSpec) => void)): number
721
+ connect_after(sigName: "notify::g-destroy-func", callback: (($obj: ArraySpliterator, pspec: GObject.ParamSpec) => void)): number
722
+ emit(sigName: "notify::g-destroy-func", ...args: any[]): void
723
+ connect(sigName: "notify::estimated-size", callback: (($obj: ArraySpliterator, pspec: GObject.ParamSpec) => void)): number
724
+ connect_after(sigName: "notify::estimated-size", callback: (($obj: ArraySpliterator, pspec: GObject.ParamSpec) => void)): number
725
+ emit(sigName: "notify::estimated-size", ...args: any[]): void
726
+ connect(sigName: "notify::is-size-known", callback: (($obj: ArraySpliterator, pspec: GObject.ParamSpec) => void)): number
727
+ connect_after(sigName: "notify::is-size-known", callback: (($obj: ArraySpliterator, pspec: GObject.ParamSpec) => void)): number
728
+ emit(sigName: "notify::is-size-known", ...args: any[]): void
729
+ connect(sigName: string, callback: (...args: any[]) => void): number
730
+ connect_after(sigName: string, callback: (...args: any[]) => void): number
731
+ emit(sigName: string, ...args: any[]): void
732
+ disconnect(id: number): void
733
+ }
734
+
735
+ export class ArraySpliterator extends GObject.Object {
736
+
737
+ // Own properties of Gpseq-1.0.Gpseq.ArraySpliterator
738
+
739
+ static name: string
740
+ static $gtype: GObject.GType<ArraySpliterator>
741
+
742
+ // Constructors of Gpseq-1.0.Gpseq.ArraySpliterator
743
+
744
+ constructor(config?: ArraySpliterator.ConstructorProperties)
745
+ constructor(g_type: GObject.GType, g_dup_func: GObject.BoxedCopyFunc, g_destroy_func: GLib.DestroyNotify, array: any[], start: number, stop: number)
746
+ static new(g_type: GObject.GType, g_dup_func: GObject.BoxedCopyFunc, g_destroy_func: GLib.DestroyNotify, array: any[], start: number, stop: number): ArraySpliterator
747
+ _init(config?: ArraySpliterator.ConstructorProperties): void
748
+ }
749
+
750
+ export module ForkJoinTask {
751
+
752
+ // Constructor properties interface
753
+
754
+ export interface ConstructorProperties extends Task.ConstructorProperties, GObject.Object.ConstructorProperties {
755
+
756
+ // Own constructor properties of Gpseq-1.0.Gpseq.ForkJoinTask
757
+
758
+ g_type?: GObject.GType | null
759
+ g_dup_func?: GObject.BoxedCopyFunc | null
760
+ g_destroy_func?: GLib.DestroyNotify | null
761
+ depth?: number | null
762
+ }
763
+
764
+ }
765
+
766
+ export interface ForkJoinTask extends Task {
767
+
768
+ // Own properties of Gpseq-1.0.Gpseq.ForkJoinTask
769
+
770
+ readonly g_type: GObject.GType
771
+ readonly g_dup_func: GObject.BoxedCopyFunc
772
+ readonly g_destroy_func: GLib.DestroyNotify
773
+ readonly parent: ForkJoinTask
774
+ readonly root: ForkJoinTask
775
+ readonly is_root: boolean
776
+ readonly threshold: number
777
+ readonly max_depth: number
778
+ depth: number
779
+ readonly executor: Executor
780
+ readonly promise: Promise
781
+ readonly shared_result: ForkJoinTaskSharedResult
782
+ readonly is_cancelled: boolean
783
+
784
+ // Owm methods of Gpseq-1.0.Gpseq.ForkJoinTask
785
+
786
+ get_parent(): ForkJoinTask | null
787
+ get_root(): ForkJoinTask
788
+ get_is_root(): boolean
789
+ get_threshold(): number
790
+ get_max_depth(): number
791
+ get_depth(): number
792
+ set_depth(value: number): void
793
+ get_executor(): Executor
794
+ get_promise(): Promise
795
+ join(): any | null
796
+ fork(): void
797
+ get_shared_result(): ForkJoinTaskSharedResult
798
+ cancel(): void
799
+ get_is_cancelled(): boolean
800
+ compute(): void
801
+
802
+ // Own virtual methods of Gpseq-1.0.Gpseq.ForkJoinTask
803
+
804
+ vfunc_compute(): void
805
+
806
+ // Class property signals of Gpseq-1.0.Gpseq.ForkJoinTask
807
+
808
+ connect(sigName: "notify::g-type", callback: (($obj: ForkJoinTask, pspec: GObject.ParamSpec) => void)): number
809
+ connect_after(sigName: "notify::g-type", callback: (($obj: ForkJoinTask, pspec: GObject.ParamSpec) => void)): number
810
+ emit(sigName: "notify::g-type", ...args: any[]): void
811
+ connect(sigName: "notify::g-dup-func", callback: (($obj: ForkJoinTask, pspec: GObject.ParamSpec) => void)): number
812
+ connect_after(sigName: "notify::g-dup-func", callback: (($obj: ForkJoinTask, pspec: GObject.ParamSpec) => void)): number
813
+ emit(sigName: "notify::g-dup-func", ...args: any[]): void
814
+ connect(sigName: "notify::g-destroy-func", callback: (($obj: ForkJoinTask, pspec: GObject.ParamSpec) => void)): number
815
+ connect_after(sigName: "notify::g-destroy-func", callback: (($obj: ForkJoinTask, pspec: GObject.ParamSpec) => void)): number
816
+ emit(sigName: "notify::g-destroy-func", ...args: any[]): void
817
+ connect(sigName: "notify::parent", callback: (($obj: ForkJoinTask, pspec: GObject.ParamSpec) => void)): number
818
+ connect_after(sigName: "notify::parent", callback: (($obj: ForkJoinTask, pspec: GObject.ParamSpec) => void)): number
819
+ emit(sigName: "notify::parent", ...args: any[]): void
820
+ connect(sigName: "notify::root", callback: (($obj: ForkJoinTask, pspec: GObject.ParamSpec) => void)): number
821
+ connect_after(sigName: "notify::root", callback: (($obj: ForkJoinTask, pspec: GObject.ParamSpec) => void)): number
822
+ emit(sigName: "notify::root", ...args: any[]): void
823
+ connect(sigName: "notify::is-root", callback: (($obj: ForkJoinTask, pspec: GObject.ParamSpec) => void)): number
824
+ connect_after(sigName: "notify::is-root", callback: (($obj: ForkJoinTask, pspec: GObject.ParamSpec) => void)): number
825
+ emit(sigName: "notify::is-root", ...args: any[]): void
826
+ connect(sigName: "notify::threshold", callback: (($obj: ForkJoinTask, pspec: GObject.ParamSpec) => void)): number
827
+ connect_after(sigName: "notify::threshold", callback: (($obj: ForkJoinTask, pspec: GObject.ParamSpec) => void)): number
828
+ emit(sigName: "notify::threshold", ...args: any[]): void
829
+ connect(sigName: "notify::max-depth", callback: (($obj: ForkJoinTask, pspec: GObject.ParamSpec) => void)): number
830
+ connect_after(sigName: "notify::max-depth", callback: (($obj: ForkJoinTask, pspec: GObject.ParamSpec) => void)): number
831
+ emit(sigName: "notify::max-depth", ...args: any[]): void
832
+ connect(sigName: "notify::depth", callback: (($obj: ForkJoinTask, pspec: GObject.ParamSpec) => void)): number
833
+ connect_after(sigName: "notify::depth", callback: (($obj: ForkJoinTask, pspec: GObject.ParamSpec) => void)): number
834
+ emit(sigName: "notify::depth", ...args: any[]): void
835
+ connect(sigName: "notify::executor", callback: (($obj: ForkJoinTask, pspec: GObject.ParamSpec) => void)): number
836
+ connect_after(sigName: "notify::executor", callback: (($obj: ForkJoinTask, pspec: GObject.ParamSpec) => void)): number
837
+ emit(sigName: "notify::executor", ...args: any[]): void
838
+ connect(sigName: "notify::promise", callback: (($obj: ForkJoinTask, pspec: GObject.ParamSpec) => void)): number
839
+ connect_after(sigName: "notify::promise", callback: (($obj: ForkJoinTask, pspec: GObject.ParamSpec) => void)): number
840
+ emit(sigName: "notify::promise", ...args: any[]): void
841
+ connect(sigName: "notify::shared-result", callback: (($obj: ForkJoinTask, pspec: GObject.ParamSpec) => void)): number
842
+ connect_after(sigName: "notify::shared-result", callback: (($obj: ForkJoinTask, pspec: GObject.ParamSpec) => void)): number
843
+ emit(sigName: "notify::shared-result", ...args: any[]): void
844
+ connect(sigName: "notify::is-cancelled", callback: (($obj: ForkJoinTask, pspec: GObject.ParamSpec) => void)): number
845
+ connect_after(sigName: "notify::is-cancelled", callback: (($obj: ForkJoinTask, pspec: GObject.ParamSpec) => void)): number
846
+ emit(sigName: "notify::is-cancelled", ...args: any[]): void
847
+ connect(sigName: "notify::future", callback: (($obj: ForkJoinTask, pspec: GObject.ParamSpec) => void)): number
848
+ connect_after(sigName: "notify::future", callback: (($obj: ForkJoinTask, pspec: GObject.ParamSpec) => void)): number
849
+ emit(sigName: "notify::future", ...args: any[]): void
850
+ connect(sigName: string, callback: (...args: any[]) => void): number
851
+ connect_after(sigName: string, callback: (...args: any[]) => void): number
852
+ emit(sigName: string, ...args: any[]): void
853
+ disconnect(id: number): void
854
+ }
855
+
856
+ export class ForkJoinTask extends GObject.Object {
857
+
858
+ // Own properties of Gpseq-1.0.Gpseq.ForkJoinTask
859
+
860
+ static name: string
861
+ static $gtype: GObject.GType<ForkJoinTask>
862
+
863
+ // Constructors of Gpseq-1.0.Gpseq.ForkJoinTask
864
+
865
+ constructor(config?: ForkJoinTask.ConstructorProperties)
866
+ _init(config?: ForkJoinTask.ConstructorProperties): void
867
+ }
868
+
869
+ export interface ForkJoinTaskSharedResult {
870
+
871
+ // Own fields of Gpseq-1.0.Gpseq.ForkJoinTaskSharedResult
872
+
873
+ ref_count: number
874
+
875
+ // Owm methods of Gpseq-1.0.Gpseq.ForkJoinTaskSharedResult
876
+
877
+ get_ready(): boolean
878
+ get_value(): any | null
879
+ set_value(value?: any | null): void
880
+ get_error(): GLib.Error | null
881
+ set_error(value?: GLib.Error | null): void
882
+ bake_promise(promise: Promise): void
883
+ }
884
+
885
+ export class ForkJoinTaskSharedResult {
886
+
887
+ // Own properties of Gpseq-1.0.Gpseq.ForkJoinTaskSharedResult
888
+
889
+ static name: string
890
+
891
+ // Constructors of Gpseq-1.0.Gpseq.ForkJoinTaskSharedResult
892
+
893
+ constructor(g_type: GObject.GType, g_dup_func: GObject.BoxedCopyFunc, g_destroy_func: GLib.DestroyNotify)
894
+ static new(g_type: GObject.GType, g_dup_func: GObject.BoxedCopyFunc, g_destroy_func: GLib.DestroyNotify): ForkJoinTaskSharedResult
895
+ }
896
+
897
+ export module FuncTask {
898
+
899
+ // Constructor properties interface
900
+
901
+ export interface ConstructorProperties extends Task.ConstructorProperties, GObject.Object.ConstructorProperties {
902
+
903
+ // Own constructor properties of Gpseq-1.0.Gpseq.FuncTask
904
+
905
+ g_type?: GObject.GType | null
906
+ g_dup_func?: GObject.BoxedCopyFunc | null
907
+ g_destroy_func?: GLib.DestroyNotify | null
908
+ }
909
+
910
+ }
911
+
912
+ export interface FuncTask extends Task {
913
+
914
+ // Own properties of Gpseq-1.0.Gpseq.FuncTask
915
+
916
+ readonly g_type: GObject.GType
917
+ readonly g_dup_func: GObject.BoxedCopyFunc
918
+ readonly g_destroy_func: GLib.DestroyNotify
919
+
920
+ // Class property signals of Gpseq-1.0.Gpseq.FuncTask
921
+
922
+ connect(sigName: "notify::g-type", callback: (($obj: FuncTask, pspec: GObject.ParamSpec) => void)): number
923
+ connect_after(sigName: "notify::g-type", callback: (($obj: FuncTask, pspec: GObject.ParamSpec) => void)): number
924
+ emit(sigName: "notify::g-type", ...args: any[]): void
925
+ connect(sigName: "notify::g-dup-func", callback: (($obj: FuncTask, pspec: GObject.ParamSpec) => void)): number
926
+ connect_after(sigName: "notify::g-dup-func", callback: (($obj: FuncTask, pspec: GObject.ParamSpec) => void)): number
927
+ emit(sigName: "notify::g-dup-func", ...args: any[]): void
928
+ connect(sigName: "notify::g-destroy-func", callback: (($obj: FuncTask, pspec: GObject.ParamSpec) => void)): number
929
+ connect_after(sigName: "notify::g-destroy-func", callback: (($obj: FuncTask, pspec: GObject.ParamSpec) => void)): number
930
+ emit(sigName: "notify::g-destroy-func", ...args: any[]): void
931
+ connect(sigName: "notify::future", callback: (($obj: FuncTask, pspec: GObject.ParamSpec) => void)): number
932
+ connect_after(sigName: "notify::future", callback: (($obj: FuncTask, pspec: GObject.ParamSpec) => void)): number
933
+ emit(sigName: "notify::future", ...args: any[]): void
934
+ connect(sigName: string, callback: (...args: any[]) => void): number
935
+ connect_after(sigName: string, callback: (...args: any[]) => void): number
936
+ emit(sigName: string, ...args: any[]): void
937
+ disconnect(id: number): void
938
+ }
939
+
940
+ export class FuncTask extends GObject.Object {
941
+
942
+ // Own properties of Gpseq-1.0.Gpseq.FuncTask
943
+
944
+ static name: string
945
+ static $gtype: GObject.GType<FuncTask>
946
+
947
+ // Constructors of Gpseq-1.0.Gpseq.FuncTask
948
+
949
+ constructor(config?: FuncTask.ConstructorProperties)
950
+ constructor(g_type: GObject.GType, g_dup_func: GObject.BoxedCopyFunc, g_destroy_func: GLib.DestroyNotify, func: TaskFunc)
951
+ static new(g_type: GObject.GType, g_dup_func: GObject.BoxedCopyFunc, g_destroy_func: GLib.DestroyNotify, func: TaskFunc): FuncTask
952
+ _init(config?: FuncTask.ConstructorProperties): void
953
+ }
954
+
955
+ export module Future {
956
+
957
+ // Constructor properties interface
958
+
959
+ export interface ConstructorProperties extends Gee.Hashable.ConstructorProperties, Result.ConstructorProperties, GObject.Object.ConstructorProperties {
960
+
961
+ // Own constructor properties of Gpseq-1.0.Gpseq.Future
962
+
963
+ g_type?: GObject.GType | null
964
+ g_dup_func?: GObject.BoxedCopyFunc | null
965
+ g_destroy_func?: GLib.DestroyNotify | null
966
+ }
967
+
968
+ }
969
+
970
+ export interface Future extends Gee.Hashable, Result {
971
+
972
+ // Own properties of Gpseq-1.0.Gpseq.Future
973
+
974
+ readonly g_type: GObject.GType
975
+ readonly g_dup_func: GObject.BoxedCopyFunc
976
+ readonly g_destroy_func: GLib.DestroyNotify
977
+ readonly ready: boolean
978
+
979
+ // Owm methods of Gpseq-1.0.Gpseq.Future
980
+
981
+ get_ready(): boolean
982
+ wait(): any | null
983
+ wait_until(end_time: number): [ /* returnType */ boolean, /* value */ any | null ]
984
+ transform(a_type: GObject.GType, a_dup_func: GObject.BoxedCopyFunc, a_destroy_func: GLib.DestroyNotify, func: any): Result
985
+
986
+ // Own virtual methods of Gpseq-1.0.Gpseq.Future
987
+
988
+ vfunc_get_ready(): boolean
989
+ vfunc_wait(): any | null
990
+ vfunc_wait_until(end_time: number): [ /* returnType */ boolean, /* value */ any | null ]
991
+ vfunc_transform(a_type: GObject.GType, a_dup_func: GObject.BoxedCopyFunc, a_destroy_func: GLib.DestroyNotify, func: any): Result
992
+
993
+ // Class property signals of Gpseq-1.0.Gpseq.Future
994
+
995
+ connect(sigName: "notify::g-type", callback: (($obj: Future, pspec: GObject.ParamSpec) => void)): number
996
+ connect_after(sigName: "notify::g-type", callback: (($obj: Future, pspec: GObject.ParamSpec) => void)): number
997
+ emit(sigName: "notify::g-type", ...args: any[]): void
998
+ connect(sigName: "notify::g-dup-func", callback: (($obj: Future, pspec: GObject.ParamSpec) => void)): number
999
+ connect_after(sigName: "notify::g-dup-func", callback: (($obj: Future, pspec: GObject.ParamSpec) => void)): number
1000
+ emit(sigName: "notify::g-dup-func", ...args: any[]): void
1001
+ connect(sigName: "notify::g-destroy-func", callback: (($obj: Future, pspec: GObject.ParamSpec) => void)): number
1002
+ connect_after(sigName: "notify::g-destroy-func", callback: (($obj: Future, pspec: GObject.ParamSpec) => void)): number
1003
+ emit(sigName: "notify::g-destroy-func", ...args: any[]): void
1004
+ connect(sigName: "notify::ready", callback: (($obj: Future, pspec: GObject.ParamSpec) => void)): number
1005
+ connect_after(sigName: "notify::ready", callback: (($obj: Future, pspec: GObject.ParamSpec) => void)): number
1006
+ emit(sigName: "notify::ready", ...args: any[]): void
1007
+ connect(sigName: string, callback: (...args: any[]) => void): number
1008
+ connect_after(sigName: string, callback: (...args: any[]) => void): number
1009
+ emit(sigName: string, ...args: any[]): void
1010
+ disconnect(id: number): void
1011
+ }
1012
+
1013
+ export class Future extends GObject.Object {
1014
+
1015
+ // Own properties of Gpseq-1.0.Gpseq.Future
1016
+
1017
+ static name: string
1018
+ static $gtype: GObject.GType<Future>
1019
+
1020
+ // Constructors of Gpseq-1.0.Gpseq.Future
1021
+
1022
+ constructor(config?: Future.ConstructorProperties)
1023
+ _init(config?: Future.ConstructorProperties): void
1024
+ static of(g_type: GObject.GType, g_dup_func: GObject.BoxedCopyFunc, g_destroy_func: GLib.DestroyNotify, value?: any | null): Future
1025
+
1026
+ // Overloads of of
1027
+
1028
+ static of(g_type: GObject.GType, g_dup_func: GObject.BoxedCopyFunc, g_destroy_func: GLib.DestroyNotify, value?: any | null): Result
1029
+ static err(g_type: GObject.GType, g_dup_func: GObject.BoxedCopyFunc, g_destroy_func: GLib.DestroyNotify, exception: GLib.Error): Future
1030
+
1031
+ // Overloads of err
1032
+
1033
+ static err(g_type: GObject.GType, g_dup_func: GObject.BoxedCopyFunc, g_destroy_func: GLib.DestroyNotify, exception: GLib.Error): Result
1034
+ static done(g_type: GObject.GType, g_dup_func: GObject.BoxedCopyFunc, g_destroy_func: GLib.DestroyNotify, result: Result): Future
1035
+ }
1036
+
1037
+ export module GenericArraySpliterator {
1038
+
1039
+ // Constructor properties interface
1040
+
1041
+ export interface ConstructorProperties extends Spliterator.ConstructorProperties, GObject.Object.ConstructorProperties {
1042
+
1043
+ // Own constructor properties of Gpseq-1.0.Gpseq.GenericArraySpliterator
1044
+
1045
+ g_type?: GObject.GType | null
1046
+ g_dup_func?: GObject.BoxedCopyFunc | null
1047
+ g_destroy_func?: GLib.DestroyNotify | null
1048
+ }
1049
+
1050
+ }
1051
+
1052
+ export interface GenericArraySpliterator extends Spliterator {
1053
+
1054
+ // Own properties of Gpseq-1.0.Gpseq.GenericArraySpliterator
1055
+
1056
+ readonly g_type: GObject.GType
1057
+ readonly g_dup_func: GObject.BoxedCopyFunc
1058
+ readonly g_destroy_func: GLib.DestroyNotify
1059
+
1060
+ // Class property signals of Gpseq-1.0.Gpseq.GenericArraySpliterator
1061
+
1062
+ connect(sigName: "notify::g-type", callback: (($obj: GenericArraySpliterator, pspec: GObject.ParamSpec) => void)): number
1063
+ connect_after(sigName: "notify::g-type", callback: (($obj: GenericArraySpliterator, pspec: GObject.ParamSpec) => void)): number
1064
+ emit(sigName: "notify::g-type", ...args: any[]): void
1065
+ connect(sigName: "notify::g-dup-func", callback: (($obj: GenericArraySpliterator, pspec: GObject.ParamSpec) => void)): number
1066
+ connect_after(sigName: "notify::g-dup-func", callback: (($obj: GenericArraySpliterator, pspec: GObject.ParamSpec) => void)): number
1067
+ emit(sigName: "notify::g-dup-func", ...args: any[]): void
1068
+ connect(sigName: "notify::g-destroy-func", callback: (($obj: GenericArraySpliterator, pspec: GObject.ParamSpec) => void)): number
1069
+ connect_after(sigName: "notify::g-destroy-func", callback: (($obj: GenericArraySpliterator, pspec: GObject.ParamSpec) => void)): number
1070
+ emit(sigName: "notify::g-destroy-func", ...args: any[]): void
1071
+ connect(sigName: "notify::estimated-size", callback: (($obj: GenericArraySpliterator, pspec: GObject.ParamSpec) => void)): number
1072
+ connect_after(sigName: "notify::estimated-size", callback: (($obj: GenericArraySpliterator, pspec: GObject.ParamSpec) => void)): number
1073
+ emit(sigName: "notify::estimated-size", ...args: any[]): void
1074
+ connect(sigName: "notify::is-size-known", callback: (($obj: GenericArraySpliterator, pspec: GObject.ParamSpec) => void)): number
1075
+ connect_after(sigName: "notify::is-size-known", callback: (($obj: GenericArraySpliterator, pspec: GObject.ParamSpec) => void)): number
1076
+ emit(sigName: "notify::is-size-known", ...args: any[]): void
1077
+ connect(sigName: string, callback: (...args: any[]) => void): number
1078
+ connect_after(sigName: string, callback: (...args: any[]) => void): number
1079
+ emit(sigName: string, ...args: any[]): void
1080
+ disconnect(id: number): void
1081
+ }
1082
+
1083
+ export class GenericArraySpliterator extends GObject.Object {
1084
+
1085
+ // Own properties of Gpseq-1.0.Gpseq.GenericArraySpliterator
1086
+
1087
+ static name: string
1088
+ static $gtype: GObject.GType<GenericArraySpliterator>
1089
+
1090
+ // Constructors of Gpseq-1.0.Gpseq.GenericArraySpliterator
1091
+
1092
+ constructor(config?: GenericArraySpliterator.ConstructorProperties)
1093
+ constructor(g_type: GObject.GType, g_dup_func: GObject.BoxedCopyFunc, g_destroy_func: GLib.DestroyNotify, array: any[], start: number, stop: number)
1094
+ static new(g_type: GObject.GType, g_dup_func: GObject.BoxedCopyFunc, g_destroy_func: GLib.DestroyNotify, array: any[], start: number, stop: number): GenericArraySpliterator
1095
+ _init(config?: GenericArraySpliterator.ConstructorProperties): void
1096
+ }
1097
+
1098
+ export module IteratorSpliterator {
1099
+
1100
+ // Constructor properties interface
1101
+
1102
+ export interface ConstructorProperties extends Spliterator.ConstructorProperties, GObject.Object.ConstructorProperties {
1103
+
1104
+ // Own constructor properties of Gpseq-1.0.Gpseq.IteratorSpliterator
1105
+
1106
+ g_type?: GObject.GType | null
1107
+ g_dup_func?: GObject.BoxedCopyFunc | null
1108
+ g_destroy_func?: GLib.DestroyNotify | null
1109
+ }
1110
+
1111
+ }
1112
+
1113
+ export interface IteratorSpliterator extends Spliterator {
1114
+
1115
+ // Own properties of Gpseq-1.0.Gpseq.IteratorSpliterator
1116
+
1117
+ readonly g_type: GObject.GType
1118
+ readonly g_dup_func: GObject.BoxedCopyFunc
1119
+ readonly g_destroy_func: GLib.DestroyNotify
1120
+
1121
+ // Class property signals of Gpseq-1.0.Gpseq.IteratorSpliterator
1122
+
1123
+ connect(sigName: "notify::g-type", callback: (($obj: IteratorSpliterator, pspec: GObject.ParamSpec) => void)): number
1124
+ connect_after(sigName: "notify::g-type", callback: (($obj: IteratorSpliterator, pspec: GObject.ParamSpec) => void)): number
1125
+ emit(sigName: "notify::g-type", ...args: any[]): void
1126
+ connect(sigName: "notify::g-dup-func", callback: (($obj: IteratorSpliterator, pspec: GObject.ParamSpec) => void)): number
1127
+ connect_after(sigName: "notify::g-dup-func", callback: (($obj: IteratorSpliterator, pspec: GObject.ParamSpec) => void)): number
1128
+ emit(sigName: "notify::g-dup-func", ...args: any[]): void
1129
+ connect(sigName: "notify::g-destroy-func", callback: (($obj: IteratorSpliterator, pspec: GObject.ParamSpec) => void)): number
1130
+ connect_after(sigName: "notify::g-destroy-func", callback: (($obj: IteratorSpliterator, pspec: GObject.ParamSpec) => void)): number
1131
+ emit(sigName: "notify::g-destroy-func", ...args: any[]): void
1132
+ connect(sigName: "notify::estimated-size", callback: (($obj: IteratorSpliterator, pspec: GObject.ParamSpec) => void)): number
1133
+ connect_after(sigName: "notify::estimated-size", callback: (($obj: IteratorSpliterator, pspec: GObject.ParamSpec) => void)): number
1134
+ emit(sigName: "notify::estimated-size", ...args: any[]): void
1135
+ connect(sigName: "notify::is-size-known", callback: (($obj: IteratorSpliterator, pspec: GObject.ParamSpec) => void)): number
1136
+ connect_after(sigName: "notify::is-size-known", callback: (($obj: IteratorSpliterator, pspec: GObject.ParamSpec) => void)): number
1137
+ emit(sigName: "notify::is-size-known", ...args: any[]): void
1138
+ connect(sigName: string, callback: (...args: any[]) => void): number
1139
+ connect_after(sigName: string, callback: (...args: any[]) => void): number
1140
+ emit(sigName: string, ...args: any[]): void
1141
+ disconnect(id: number): void
1142
+ }
1143
+
1144
+ export class IteratorSpliterator extends GObject.Object {
1145
+
1146
+ // Own properties of Gpseq-1.0.Gpseq.IteratorSpliterator
1147
+
1148
+ static name: string
1149
+ static $gtype: GObject.GType<IteratorSpliterator>
1150
+
1151
+ // Constructors of Gpseq-1.0.Gpseq.IteratorSpliterator
1152
+
1153
+ constructor(config?: IteratorSpliterator.ConstructorProperties)
1154
+ constructor(g_type: GObject.GType, g_dup_func: GObject.BoxedCopyFunc, g_destroy_func: GLib.DestroyNotify, iterator: Gee.Iterator, estimated_size: number, size_known: boolean)
1155
+ static new(g_type: GObject.GType, g_dup_func: GObject.BoxedCopyFunc, g_destroy_func: GLib.DestroyNotify, iterator: Gee.Iterator, estimated_size: number, size_known: boolean): IteratorSpliterator
1156
+ static from_collection(g_type: GObject.GType, g_dup_func: GObject.BoxedCopyFunc, g_destroy_func: GLib.DestroyNotify, collection: Gee.Collection): IteratorSpliterator
1157
+ _init(config?: IteratorSpliterator.ConstructorProperties): void
1158
+ }
1159
+
1160
+ export module ListSpliterator {
1161
+
1162
+ // Constructor properties interface
1163
+
1164
+ export interface ConstructorProperties extends Spliterator.ConstructorProperties, GObject.Object.ConstructorProperties {
1165
+
1166
+ // Own constructor properties of Gpseq-1.0.Gpseq.ListSpliterator
1167
+
1168
+ g_type?: GObject.GType | null
1169
+ g_dup_func?: GObject.BoxedCopyFunc | null
1170
+ g_destroy_func?: GLib.DestroyNotify | null
1171
+ }
1172
+
1173
+ }
1174
+
1175
+ export interface ListSpliterator extends Spliterator {
1176
+
1177
+ // Own properties of Gpseq-1.0.Gpseq.ListSpliterator
1178
+
1179
+ readonly g_type: GObject.GType
1180
+ readonly g_dup_func: GObject.BoxedCopyFunc
1181
+ readonly g_destroy_func: GLib.DestroyNotify
1182
+
1183
+ // Class property signals of Gpseq-1.0.Gpseq.ListSpliterator
1184
+
1185
+ connect(sigName: "notify::g-type", callback: (($obj: ListSpliterator, pspec: GObject.ParamSpec) => void)): number
1186
+ connect_after(sigName: "notify::g-type", callback: (($obj: ListSpliterator, pspec: GObject.ParamSpec) => void)): number
1187
+ emit(sigName: "notify::g-type", ...args: any[]): void
1188
+ connect(sigName: "notify::g-dup-func", callback: (($obj: ListSpliterator, pspec: GObject.ParamSpec) => void)): number
1189
+ connect_after(sigName: "notify::g-dup-func", callback: (($obj: ListSpliterator, pspec: GObject.ParamSpec) => void)): number
1190
+ emit(sigName: "notify::g-dup-func", ...args: any[]): void
1191
+ connect(sigName: "notify::g-destroy-func", callback: (($obj: ListSpliterator, pspec: GObject.ParamSpec) => void)): number
1192
+ connect_after(sigName: "notify::g-destroy-func", callback: (($obj: ListSpliterator, pspec: GObject.ParamSpec) => void)): number
1193
+ emit(sigName: "notify::g-destroy-func", ...args: any[]): void
1194
+ connect(sigName: "notify::estimated-size", callback: (($obj: ListSpliterator, pspec: GObject.ParamSpec) => void)): number
1195
+ connect_after(sigName: "notify::estimated-size", callback: (($obj: ListSpliterator, pspec: GObject.ParamSpec) => void)): number
1196
+ emit(sigName: "notify::estimated-size", ...args: any[]): void
1197
+ connect(sigName: "notify::is-size-known", callback: (($obj: ListSpliterator, pspec: GObject.ParamSpec) => void)): number
1198
+ connect_after(sigName: "notify::is-size-known", callback: (($obj: ListSpliterator, pspec: GObject.ParamSpec) => void)): number
1199
+ emit(sigName: "notify::is-size-known", ...args: any[]): void
1200
+ connect(sigName: string, callback: (...args: any[]) => void): number
1201
+ connect_after(sigName: string, callback: (...args: any[]) => void): number
1202
+ emit(sigName: string, ...args: any[]): void
1203
+ disconnect(id: number): void
1204
+ }
1205
+
1206
+ export class ListSpliterator extends GObject.Object {
1207
+
1208
+ // Own properties of Gpseq-1.0.Gpseq.ListSpliterator
1209
+
1210
+ static name: string
1211
+ static $gtype: GObject.GType<ListSpliterator>
1212
+
1213
+ // Constructors of Gpseq-1.0.Gpseq.ListSpliterator
1214
+
1215
+ constructor(config?: ListSpliterator.ConstructorProperties)
1216
+ constructor(g_type: GObject.GType, g_dup_func: GObject.BoxedCopyFunc, g_destroy_func: GLib.DestroyNotify, list: Gee.List, start: number, stop: number)
1217
+ static new(g_type: GObject.GType, g_dup_func: GObject.BoxedCopyFunc, g_destroy_func: GLib.DestroyNotify, list: Gee.List, start: number, stop: number): ListSpliterator
1218
+ _init(config?: ListSpliterator.ConstructorProperties): void
1219
+ }
1220
+
1221
+ export module Optional {
1222
+
1223
+ // Constructor properties interface
1224
+
1225
+ export interface ConstructorProperties extends GObject.Object.ConstructorProperties {
1226
+
1227
+ // Own constructor properties of Gpseq-1.0.Gpseq.Optional
1228
+
1229
+ g_type?: GObject.GType | null
1230
+ g_dup_func?: GObject.BoxedCopyFunc | null
1231
+ g_destroy_func?: GLib.DestroyNotify | null
1232
+ }
1233
+
1234
+ }
1235
+
1236
+ export interface Optional {
1237
+
1238
+ // Own properties of Gpseq-1.0.Gpseq.Optional
1239
+
1240
+ readonly g_type: GObject.GType
1241
+ readonly g_dup_func: GObject.BoxedCopyFunc
1242
+ readonly g_destroy_func: GLib.DestroyNotify
1243
+ readonly value_type: GObject.GType
1244
+ readonly value: any
1245
+ readonly is_present: boolean
1246
+
1247
+ // Owm methods of Gpseq-1.0.Gpseq.Optional
1248
+
1249
+ get_value_type(): GObject.GType
1250
+ get_value(): any | null
1251
+ get_is_present(): boolean
1252
+ to_string(): string | null
1253
+ if_present(consumer: GLib.Func): void
1254
+ or_else(other?: any | null): any | null
1255
+ or_else_get(supplier: SupplyFunc): any | null
1256
+ or_else_throw(error_supplier?: SupplyFunc | null): any | null
1257
+ or_else_fail(): any | null
1258
+ filter(pred: Gee.Predicate): Optional
1259
+ map(a_type: GObject.GType, a_dup_func: GObject.BoxedCopyFunc, a_destroy_func: GLib.DestroyNotify, mapper: Gee.MapFunc): Optional
1260
+
1261
+ // Class property signals of Gpseq-1.0.Gpseq.Optional
1262
+
1263
+ connect(sigName: "notify::g-type", callback: (($obj: Optional, pspec: GObject.ParamSpec) => void)): number
1264
+ connect_after(sigName: "notify::g-type", callback: (($obj: Optional, pspec: GObject.ParamSpec) => void)): number
1265
+ emit(sigName: "notify::g-type", ...args: any[]): void
1266
+ connect(sigName: "notify::g-dup-func", callback: (($obj: Optional, pspec: GObject.ParamSpec) => void)): number
1267
+ connect_after(sigName: "notify::g-dup-func", callback: (($obj: Optional, pspec: GObject.ParamSpec) => void)): number
1268
+ emit(sigName: "notify::g-dup-func", ...args: any[]): void
1269
+ connect(sigName: "notify::g-destroy-func", callback: (($obj: Optional, pspec: GObject.ParamSpec) => void)): number
1270
+ connect_after(sigName: "notify::g-destroy-func", callback: (($obj: Optional, pspec: GObject.ParamSpec) => void)): number
1271
+ emit(sigName: "notify::g-destroy-func", ...args: any[]): void
1272
+ connect(sigName: "notify::value-type", callback: (($obj: Optional, pspec: GObject.ParamSpec) => void)): number
1273
+ connect_after(sigName: "notify::value-type", callback: (($obj: Optional, pspec: GObject.ParamSpec) => void)): number
1274
+ emit(sigName: "notify::value-type", ...args: any[]): void
1275
+ connect(sigName: "notify::value", callback: (($obj: Optional, pspec: GObject.ParamSpec) => void)): number
1276
+ connect_after(sigName: "notify::value", callback: (($obj: Optional, pspec: GObject.ParamSpec) => void)): number
1277
+ emit(sigName: "notify::value", ...args: any[]): void
1278
+ connect(sigName: "notify::is-present", callback: (($obj: Optional, pspec: GObject.ParamSpec) => void)): number
1279
+ connect_after(sigName: "notify::is-present", callback: (($obj: Optional, pspec: GObject.ParamSpec) => void)): number
1280
+ emit(sigName: "notify::is-present", ...args: any[]): void
1281
+ connect(sigName: string, callback: (...args: any[]) => void): number
1282
+ connect_after(sigName: string, callback: (...args: any[]) => void): number
1283
+ emit(sigName: string, ...args: any[]): void
1284
+ disconnect(id: number): void
1285
+ }
1286
+
1287
+ export class Optional extends GObject.Object {
1288
+
1289
+ // Own properties of Gpseq-1.0.Gpseq.Optional
1290
+
1291
+ static name: string
1292
+ static $gtype: GObject.GType<Optional>
1293
+
1294
+ // Constructors of Gpseq-1.0.Gpseq.Optional
1295
+
1296
+ constructor(config?: Optional.ConstructorProperties)
1297
+ static empty(g_type: GObject.GType, g_dup_func: GObject.BoxedCopyFunc, g_destroy_func: GLib.DestroyNotify): Optional
1298
+ static of(g_type: GObject.GType, g_dup_func: GObject.BoxedCopyFunc, g_destroy_func: GLib.DestroyNotify, value?: any | null): Optional
1299
+ constructor(g_type: GObject.GType, g_dup_func: GObject.BoxedCopyFunc, g_destroy_func: GLib.DestroyNotify)
1300
+ static new(g_type: GObject.GType, g_dup_func: GObject.BoxedCopyFunc, g_destroy_func: GLib.DestroyNotify): Optional
1301
+ _init(config?: Optional.ConstructorProperties): void
1302
+ }
1303
+
1304
+ export interface Promise {
1305
+
1306
+ // Own fields of Gpseq-1.0.Gpseq.Promise
1307
+
1308
+ ref_count: number
1309
+
1310
+ // Owm methods of Gpseq-1.0.Gpseq.Promise
1311
+
1312
+ get_future(): Future
1313
+ set_value(value?: any | null): void
1314
+ set_exception(exception: GLib.Error): void
1315
+ }
1316
+
1317
+ export class Promise {
1318
+
1319
+ // Own properties of Gpseq-1.0.Gpseq.Promise
1320
+
1321
+ static name: string
1322
+
1323
+ // Constructors of Gpseq-1.0.Gpseq.Promise
1324
+
1325
+ constructor(g_type: GObject.GType, g_dup_func: GObject.BoxedCopyFunc, g_destroy_func: GLib.DestroyNotify)
1326
+ static new(g_type: GObject.GType, g_dup_func: GObject.BoxedCopyFunc, g_destroy_func: GLib.DestroyNotify): Promise
1327
+ }
1328
+
1329
+ export module Seq {
1330
+
1331
+ // Constructor properties interface
1332
+
1333
+ export interface ConstructorProperties extends GObject.Object.ConstructorProperties {
1334
+
1335
+ // Own constructor properties of Gpseq-1.0.Gpseq.Seq
1336
+
1337
+ g_type?: GObject.GType | null
1338
+ g_dup_func?: GObject.BoxedCopyFunc | null
1339
+ g_destroy_func?: GLib.DestroyNotify | null
1340
+ }
1341
+
1342
+ }
1343
+
1344
+ export interface Seq {
1345
+
1346
+ // Own properties of Gpseq-1.0.Gpseq.Seq
1347
+
1348
+ readonly g_type: GObject.GType
1349
+ readonly g_dup_func: GObject.BoxedCopyFunc
1350
+ readonly g_destroy_func: GLib.DestroyNotify
1351
+ readonly element_type: GObject.GType
1352
+ readonly task_env: TaskEnv
1353
+ readonly is_closed: boolean
1354
+ readonly is_parallel: boolean
1355
+
1356
+ // Owm methods of Gpseq-1.0.Gpseq.Seq
1357
+
1358
+ get_element_type(): GObject.GType
1359
+ get_task_env(): TaskEnv
1360
+ get_is_closed(): boolean
1361
+ close(): void
1362
+ get_is_parallel(): boolean
1363
+ sequential(): Seq
1364
+ parallel(): Seq
1365
+ iterator(): Gee.Iterator
1366
+ spliterator(): Spliterator
1367
+ count(): Future
1368
+ distinct(hash: Gee.HashDataFunc | null, equal: Gee.EqualDataFunc | null): Seq
1369
+ all_match(pred: Predicate): Future
1370
+ any_match(pred: Predicate): Future
1371
+ none_match(pred: Predicate): Future
1372
+ find_any(pred: Predicate): Future
1373
+ find_first(pred: Predicate): Future
1374
+ skip(n: number): Seq
1375
+ limit(n: number): Seq
1376
+ chop(offset: number, length: number): Seq
1377
+ skip_ordered(n: number): Seq
1378
+ limit_ordered(n: number): Seq
1379
+ chop_ordered(offset: number, length: number): Seq
1380
+ filter(pred: Predicate): Seq
1381
+ fold(a_type: GObject.GType, a_dup_func: GObject.BoxedCopyFunc, a_destroy_func: GLib.DestroyNotify, accumulator: FoldFunc, combiner: CombineFunc, identity?: any | null): Future
1382
+ reduce(accumulator: CombineFunc): Future
1383
+ map(a_type: GObject.GType, a_dup_func: GObject.BoxedCopyFunc, a_destroy_func: GLib.DestroyNotify, mapper: MapFunc): Seq
1384
+ flat_map(a_type: GObject.GType, a_dup_func: GObject.BoxedCopyFunc, a_destroy_func: GLib.DestroyNotify, mapper: FlatMapFunc): Seq
1385
+ max(compare: GLib.CompareDataFunc | null): Future
1386
+ min(compare: GLib.CompareDataFunc | null): Future
1387
+ order_by(compare: GLib.CompareDataFunc | null): Seq
1388
+ reverse_order_by(compare: GLib.CompareDataFunc | null): Seq
1389
+ foreach(f: Func): Future
1390
+ collect(r_type: GObject.GType, r_dup_func: GObject.BoxedCopyFunc, r_destroy_func: GLib.DestroyNotify, a_type: GObject.GType, a_dup_func: GObject.BoxedCopyFunc, a_destroy_func: GLib.DestroyNotify, collector: Collector): Future
1391
+ collect_ordered(r_type: GObject.GType, r_dup_func: GObject.BoxedCopyFunc, r_destroy_func: GLib.DestroyNotify, a_type: GObject.GType, a_dup_func: GObject.BoxedCopyFunc, a_destroy_func: GLib.DestroyNotify, collector: Collector): Future
1392
+ group_by(k_type: GObject.GType, k_dup_func: GObject.BoxedCopyFunc, k_destroy_func: GLib.DestroyNotify, classifier: MapFunc): Future
1393
+ partition(pred: Predicate): Future
1394
+ to_generic_array(): Future
1395
+ to_list(): Future
1396
+ to_set(hash: Gee.HashDataFunc | null, equal: Gee.EqualDataFunc | null): Future
1397
+ to_map(k_type: GObject.GType, k_dup_func: GObject.BoxedCopyFunc, k_destroy_func: GLib.DestroyNotify, v_type: GObject.GType, v_dup_func: GObject.BoxedCopyFunc, v_destroy_func: GLib.DestroyNotify, key_mapper: MapFunc, val_mapper: MapFunc, merger: CombineFunc | null, key_hash: Gee.HashDataFunc | null, key_equal: Gee.EqualDataFunc | null, value_equal: Gee.EqualDataFunc | null): Future
1398
+
1399
+ // Class property signals of Gpseq-1.0.Gpseq.Seq
1400
+
1401
+ connect(sigName: "notify::g-type", callback: (($obj: Seq, pspec: GObject.ParamSpec) => void)): number
1402
+ connect_after(sigName: "notify::g-type", callback: (($obj: Seq, pspec: GObject.ParamSpec) => void)): number
1403
+ emit(sigName: "notify::g-type", ...args: any[]): void
1404
+ connect(sigName: "notify::g-dup-func", callback: (($obj: Seq, pspec: GObject.ParamSpec) => void)): number
1405
+ connect_after(sigName: "notify::g-dup-func", callback: (($obj: Seq, pspec: GObject.ParamSpec) => void)): number
1406
+ emit(sigName: "notify::g-dup-func", ...args: any[]): void
1407
+ connect(sigName: "notify::g-destroy-func", callback: (($obj: Seq, pspec: GObject.ParamSpec) => void)): number
1408
+ connect_after(sigName: "notify::g-destroy-func", callback: (($obj: Seq, pspec: GObject.ParamSpec) => void)): number
1409
+ emit(sigName: "notify::g-destroy-func", ...args: any[]): void
1410
+ connect(sigName: "notify::element-type", callback: (($obj: Seq, pspec: GObject.ParamSpec) => void)): number
1411
+ connect_after(sigName: "notify::element-type", callback: (($obj: Seq, pspec: GObject.ParamSpec) => void)): number
1412
+ emit(sigName: "notify::element-type", ...args: any[]): void
1413
+ connect(sigName: "notify::task-env", callback: (($obj: Seq, pspec: GObject.ParamSpec) => void)): number
1414
+ connect_after(sigName: "notify::task-env", callback: (($obj: Seq, pspec: GObject.ParamSpec) => void)): number
1415
+ emit(sigName: "notify::task-env", ...args: any[]): void
1416
+ connect(sigName: "notify::is-closed", callback: (($obj: Seq, pspec: GObject.ParamSpec) => void)): number
1417
+ connect_after(sigName: "notify::is-closed", callback: (($obj: Seq, pspec: GObject.ParamSpec) => void)): number
1418
+ emit(sigName: "notify::is-closed", ...args: any[]): void
1419
+ connect(sigName: "notify::is-parallel", callback: (($obj: Seq, pspec: GObject.ParamSpec) => void)): number
1420
+ connect_after(sigName: "notify::is-parallel", callback: (($obj: Seq, pspec: GObject.ParamSpec) => void)): number
1421
+ emit(sigName: "notify::is-parallel", ...args: any[]): void
1422
+ connect(sigName: string, callback: (...args: any[]) => void): number
1423
+ connect_after(sigName: string, callback: (...args: any[]) => void): number
1424
+ emit(sigName: string, ...args: any[]): void
1425
+ disconnect(id: number): void
1426
+ }
1427
+
1428
+ export class Seq extends GObject.Object {
1429
+
1430
+ // Own properties of Gpseq-1.0.Gpseq.Seq
1431
+
1432
+ static name: string
1433
+ static $gtype: GObject.GType<Seq>
1434
+
1435
+ // Constructors of Gpseq-1.0.Gpseq.Seq
1436
+
1437
+ constructor(config?: Seq.ConstructorProperties)
1438
+ constructor(g_type: GObject.GType, g_dup_func: GObject.BoxedCopyFunc, g_destroy_func: GLib.DestroyNotify, spliterator: Spliterator, env?: TaskEnv | null)
1439
+ static new(g_type: GObject.GType, g_dup_func: GObject.BoxedCopyFunc, g_destroy_func: GLib.DestroyNotify, spliterator: Spliterator, env?: TaskEnv | null): Seq
1440
+ _init(config?: Seq.ConstructorProperties): void
1441
+ static of_array(g_type: GObject.GType, g_dup_func: GObject.BoxedCopyFunc, g_destroy_func: GLib.DestroyNotify, array: any[], env?: TaskEnv | null): Seq
1442
+ static of_owned_array(g_type: GObject.GType, g_dup_func: GObject.BoxedCopyFunc, g_destroy_func: GLib.DestroyNotify, array: any[], env?: TaskEnv | null): Seq
1443
+ static of_generic_array(g_type: GObject.GType, g_dup_func: GObject.BoxedCopyFunc, g_destroy_func: GLib.DestroyNotify, array: any[], env?: TaskEnv | null): Seq
1444
+ static of_iterator(g_type: GObject.GType, g_dup_func: GObject.BoxedCopyFunc, g_destroy_func: GLib.DestroyNotify, iterator: Gee.Iterator, estimated_size: number, size_known: boolean, env?: TaskEnv | null): Seq
1445
+ static of_collection(g_type: GObject.GType, g_dup_func: GObject.BoxedCopyFunc, g_destroy_func: GLib.DestroyNotify, collection: Gee.Collection, env?: TaskEnv | null): Seq
1446
+ static of_list(g_type: GObject.GType, g_dup_func: GObject.BoxedCopyFunc, g_destroy_func: GLib.DestroyNotify, list: Gee.List, env?: TaskEnv | null): Seq
1447
+ static of_supplier(g_type: GObject.GType, g_dup_func: GObject.BoxedCopyFunc, g_destroy_func: GLib.DestroyNotify, supplier: Supplier, env?: TaskEnv | null): Seq
1448
+ static of_supply_func(g_type: GObject.GType, g_dup_func: GObject.BoxedCopyFunc, g_destroy_func: GLib.DestroyNotify, func: SupplyFunc, env?: TaskEnv | null): Seq
1449
+ static iterate(g_type: GObject.GType, g_dup_func: GObject.BoxedCopyFunc, g_destroy_func: GLib.DestroyNotify, seed: any | null, pred: Gee.Predicate, next: Gee.MapFunc, env?: TaskEnv | null): Seq
1450
+ static empty(g_type: GObject.GType, g_dup_func: GObject.BoxedCopyFunc, g_destroy_func: GLib.DestroyNotify): Seq
1451
+ }
1452
+
1453
+ export module SpliteratorTask {
1454
+
1455
+ // Constructor properties interface
1456
+
1457
+ export interface ConstructorProperties extends ForkJoinTask.ConstructorProperties {
1458
+
1459
+ // Own constructor properties of Gpseq-1.0.Gpseq.SpliteratorTask
1460
+
1461
+ r_type?: GObject.GType | null
1462
+ r_dup_func?: GObject.BoxedCopyFunc | null
1463
+ r_destroy_func?: GLib.DestroyNotify | null
1464
+ g_type?: GObject.GType | null
1465
+ g_dup_func?: GObject.BoxedCopyFunc | null
1466
+ g_destroy_func?: GLib.DestroyNotify | null
1467
+ }
1468
+
1469
+ }
1470
+
1471
+ export interface SpliteratorTask {
1472
+
1473
+ // Own properties of Gpseq-1.0.Gpseq.SpliteratorTask
1474
+
1475
+ readonly r_type: GObject.GType
1476
+ readonly r_dup_func: GObject.BoxedCopyFunc
1477
+ readonly r_destroy_func: GLib.DestroyNotify
1478
+ readonly g_type: GObject.GType
1479
+ readonly g_dup_func: GObject.BoxedCopyFunc
1480
+ readonly g_destroy_func: GLib.DestroyNotify
1481
+ readonly spliterator: Spliterator
1482
+ readonly left_child: SpliteratorTask
1483
+ readonly right_child: SpliteratorTask
1484
+ readonly is_leaf: boolean
1485
+ readonly is_leftmost: boolean
1486
+ readonly empty_result: any
1487
+
1488
+ // Owm methods of Gpseq-1.0.Gpseq.SpliteratorTask
1489
+
1490
+ get_spliterator(): Spliterator
1491
+ get_left_child(): SpliteratorTask | null
1492
+ get_right_child(): SpliteratorTask | null
1493
+ get_is_leaf(): boolean
1494
+ get_is_leftmost(): boolean
1495
+ cancel_later_nodes(): void
1496
+ get_empty_result(): any | null
1497
+ leaf_compute(): any | null
1498
+ merge_results(left?: any | null, right?: any | null): any | null
1499
+ make_child(spliterator: Spliterator): SpliteratorTask
1500
+
1501
+ // Own virtual methods of Gpseq-1.0.Gpseq.SpliteratorTask
1502
+
1503
+ vfunc_get_empty_result(): any | null
1504
+ vfunc_leaf_compute(): any | null
1505
+ vfunc_merge_results(left?: any | null, right?: any | null): any | null
1506
+ vfunc_make_child(spliterator: Spliterator): SpliteratorTask
1507
+
1508
+ // Class property signals of Gpseq-1.0.Gpseq.SpliteratorTask
1509
+
1510
+ connect(sigName: "notify::r-type", callback: (($obj: SpliteratorTask, pspec: GObject.ParamSpec) => void)): number
1511
+ connect_after(sigName: "notify::r-type", callback: (($obj: SpliteratorTask, pspec: GObject.ParamSpec) => void)): number
1512
+ emit(sigName: "notify::r-type", ...args: any[]): void
1513
+ connect(sigName: "notify::r-dup-func", callback: (($obj: SpliteratorTask, pspec: GObject.ParamSpec) => void)): number
1514
+ connect_after(sigName: "notify::r-dup-func", callback: (($obj: SpliteratorTask, pspec: GObject.ParamSpec) => void)): number
1515
+ emit(sigName: "notify::r-dup-func", ...args: any[]): void
1516
+ connect(sigName: "notify::r-destroy-func", callback: (($obj: SpliteratorTask, pspec: GObject.ParamSpec) => void)): number
1517
+ connect_after(sigName: "notify::r-destroy-func", callback: (($obj: SpliteratorTask, pspec: GObject.ParamSpec) => void)): number
1518
+ emit(sigName: "notify::r-destroy-func", ...args: any[]): void
1519
+ connect(sigName: "notify::g-type", callback: (($obj: SpliteratorTask, pspec: GObject.ParamSpec) => void)): number
1520
+ connect_after(sigName: "notify::g-type", callback: (($obj: SpliteratorTask, pspec: GObject.ParamSpec) => void)): number
1521
+ emit(sigName: "notify::g-type", ...args: any[]): void
1522
+ connect(sigName: "notify::g-dup-func", callback: (($obj: SpliteratorTask, pspec: GObject.ParamSpec) => void)): number
1523
+ connect_after(sigName: "notify::g-dup-func", callback: (($obj: SpliteratorTask, pspec: GObject.ParamSpec) => void)): number
1524
+ emit(sigName: "notify::g-dup-func", ...args: any[]): void
1525
+ connect(sigName: "notify::g-destroy-func", callback: (($obj: SpliteratorTask, pspec: GObject.ParamSpec) => void)): number
1526
+ connect_after(sigName: "notify::g-destroy-func", callback: (($obj: SpliteratorTask, pspec: GObject.ParamSpec) => void)): number
1527
+ emit(sigName: "notify::g-destroy-func", ...args: any[]): void
1528
+ connect(sigName: "notify::spliterator", callback: (($obj: SpliteratorTask, pspec: GObject.ParamSpec) => void)): number
1529
+ connect_after(sigName: "notify::spliterator", callback: (($obj: SpliteratorTask, pspec: GObject.ParamSpec) => void)): number
1530
+ emit(sigName: "notify::spliterator", ...args: any[]): void
1531
+ connect(sigName: "notify::left-child", callback: (($obj: SpliteratorTask, pspec: GObject.ParamSpec) => void)): number
1532
+ connect_after(sigName: "notify::left-child", callback: (($obj: SpliteratorTask, pspec: GObject.ParamSpec) => void)): number
1533
+ emit(sigName: "notify::left-child", ...args: any[]): void
1534
+ connect(sigName: "notify::right-child", callback: (($obj: SpliteratorTask, pspec: GObject.ParamSpec) => void)): number
1535
+ connect_after(sigName: "notify::right-child", callback: (($obj: SpliteratorTask, pspec: GObject.ParamSpec) => void)): number
1536
+ emit(sigName: "notify::right-child", ...args: any[]): void
1537
+ connect(sigName: "notify::is-leaf", callback: (($obj: SpliteratorTask, pspec: GObject.ParamSpec) => void)): number
1538
+ connect_after(sigName: "notify::is-leaf", callback: (($obj: SpliteratorTask, pspec: GObject.ParamSpec) => void)): number
1539
+ emit(sigName: "notify::is-leaf", ...args: any[]): void
1540
+ connect(sigName: "notify::is-leftmost", callback: (($obj: SpliteratorTask, pspec: GObject.ParamSpec) => void)): number
1541
+ connect_after(sigName: "notify::is-leftmost", callback: (($obj: SpliteratorTask, pspec: GObject.ParamSpec) => void)): number
1542
+ emit(sigName: "notify::is-leftmost", ...args: any[]): void
1543
+ connect(sigName: "notify::empty-result", callback: (($obj: SpliteratorTask, pspec: GObject.ParamSpec) => void)): number
1544
+ connect_after(sigName: "notify::empty-result", callback: (($obj: SpliteratorTask, pspec: GObject.ParamSpec) => void)): number
1545
+ emit(sigName: "notify::empty-result", ...args: any[]): void
1546
+ connect(sigName: "notify::parent", callback: (($obj: SpliteratorTask, pspec: GObject.ParamSpec) => void)): number
1547
+ connect_after(sigName: "notify::parent", callback: (($obj: SpliteratorTask, pspec: GObject.ParamSpec) => void)): number
1548
+ emit(sigName: "notify::parent", ...args: any[]): void
1549
+ connect(sigName: "notify::root", callback: (($obj: SpliteratorTask, pspec: GObject.ParamSpec) => void)): number
1550
+ connect_after(sigName: "notify::root", callback: (($obj: SpliteratorTask, pspec: GObject.ParamSpec) => void)): number
1551
+ emit(sigName: "notify::root", ...args: any[]): void
1552
+ connect(sigName: "notify::is-root", callback: (($obj: SpliteratorTask, pspec: GObject.ParamSpec) => void)): number
1553
+ connect_after(sigName: "notify::is-root", callback: (($obj: SpliteratorTask, pspec: GObject.ParamSpec) => void)): number
1554
+ emit(sigName: "notify::is-root", ...args: any[]): void
1555
+ connect(sigName: "notify::threshold", callback: (($obj: SpliteratorTask, pspec: GObject.ParamSpec) => void)): number
1556
+ connect_after(sigName: "notify::threshold", callback: (($obj: SpliteratorTask, pspec: GObject.ParamSpec) => void)): number
1557
+ emit(sigName: "notify::threshold", ...args: any[]): void
1558
+ connect(sigName: "notify::max-depth", callback: (($obj: SpliteratorTask, pspec: GObject.ParamSpec) => void)): number
1559
+ connect_after(sigName: "notify::max-depth", callback: (($obj: SpliteratorTask, pspec: GObject.ParamSpec) => void)): number
1560
+ emit(sigName: "notify::max-depth", ...args: any[]): void
1561
+ connect(sigName: "notify::depth", callback: (($obj: SpliteratorTask, pspec: GObject.ParamSpec) => void)): number
1562
+ connect_after(sigName: "notify::depth", callback: (($obj: SpliteratorTask, pspec: GObject.ParamSpec) => void)): number
1563
+ emit(sigName: "notify::depth", ...args: any[]): void
1564
+ connect(sigName: "notify::executor", callback: (($obj: SpliteratorTask, pspec: GObject.ParamSpec) => void)): number
1565
+ connect_after(sigName: "notify::executor", callback: (($obj: SpliteratorTask, pspec: GObject.ParamSpec) => void)): number
1566
+ emit(sigName: "notify::executor", ...args: any[]): void
1567
+ connect(sigName: "notify::promise", callback: (($obj: SpliteratorTask, pspec: GObject.ParamSpec) => void)): number
1568
+ connect_after(sigName: "notify::promise", callback: (($obj: SpliteratorTask, pspec: GObject.ParamSpec) => void)): number
1569
+ emit(sigName: "notify::promise", ...args: any[]): void
1570
+ connect(sigName: "notify::shared-result", callback: (($obj: SpliteratorTask, pspec: GObject.ParamSpec) => void)): number
1571
+ connect_after(sigName: "notify::shared-result", callback: (($obj: SpliteratorTask, pspec: GObject.ParamSpec) => void)): number
1572
+ emit(sigName: "notify::shared-result", ...args: any[]): void
1573
+ connect(sigName: "notify::is-cancelled", callback: (($obj: SpliteratorTask, pspec: GObject.ParamSpec) => void)): number
1574
+ connect_after(sigName: "notify::is-cancelled", callback: (($obj: SpliteratorTask, pspec: GObject.ParamSpec) => void)): number
1575
+ emit(sigName: "notify::is-cancelled", ...args: any[]): void
1576
+ connect(sigName: string, callback: (...args: any[]) => void): number
1577
+ connect_after(sigName: string, callback: (...args: any[]) => void): number
1578
+ emit(sigName: string, ...args: any[]): void
1579
+ disconnect(id: number): void
1580
+ }
1581
+
1582
+ export class SpliteratorTask extends ForkJoinTask {
1583
+
1584
+ // Own properties of Gpseq-1.0.Gpseq.SpliteratorTask
1585
+
1586
+ static name: string
1587
+ static $gtype: GObject.GType<SpliteratorTask>
1588
+
1589
+ // Constructors of Gpseq-1.0.Gpseq.SpliteratorTask
1590
+
1591
+ constructor(config?: SpliteratorTask.ConstructorProperties)
1592
+ _init(config?: SpliteratorTask.ConstructorProperties): void
1593
+ }
1594
+
1595
+ export module SubArray {
1596
+
1597
+ // Constructor properties interface
1598
+
1599
+ export interface ConstructorProperties extends Gee.Traversable.ConstructorProperties, Gee.Iterable.ConstructorProperties, GObject.Object.ConstructorProperties {
1600
+
1601
+ // Own constructor properties of Gpseq-1.0.Gpseq.SubArray
1602
+
1603
+ g_type?: GObject.GType | null
1604
+ g_dup_func?: GObject.BoxedCopyFunc | null
1605
+ g_destroy_func?: GLib.DestroyNotify | null
1606
+ }
1607
+
1608
+ }
1609
+
1610
+ export interface SubArray extends Gee.Traversable, Gee.Iterable {
1611
+
1612
+ // Own properties of Gpseq-1.0.Gpseq.SubArray
1613
+
1614
+ readonly g_type: GObject.GType
1615
+ readonly g_dup_func: GObject.BoxedCopyFunc
1616
+ readonly g_destroy_func: GLib.DestroyNotify
1617
+ readonly size: number
1618
+
1619
+ // Owm methods of Gpseq-1.0.Gpseq.SubArray
1620
+
1621
+ get_data(): any[]
1622
+
1623
+ // Overloads of get_data
1624
+
1625
+ /**
1626
+ * Gets a named field from the objects table of associations (see g_object_set_data()).
1627
+ * @param key name of the key for that association
1628
+ * @returns the data if found, or %NULL if no such data exists.
1629
+ */
1630
+ get_data(key: string | null): any | null
1631
+ get_size(): number
1632
+ get(index: number): any | null
1633
+ set(index: number, item?: any | null): void
1634
+ sort(compare_func: GLib.CompareDataFunc | null): void
1635
+ copy(start: number, src: SubArray, src_start: number, count: number): void
1636
+ copy_array(start: number, src: any[], src_start: number, count: number): void
1637
+ sub_array(start: number, stop: number): SubArray
1638
+
1639
+ // Class property signals of Gpseq-1.0.Gpseq.SubArray
1640
+
1641
+ connect(sigName: "notify::g-type", callback: (($obj: SubArray, pspec: GObject.ParamSpec) => void)): number
1642
+ connect_after(sigName: "notify::g-type", callback: (($obj: SubArray, pspec: GObject.ParamSpec) => void)): number
1643
+ emit(sigName: "notify::g-type", ...args: any[]): void
1644
+ connect(sigName: "notify::g-dup-func", callback: (($obj: SubArray, pspec: GObject.ParamSpec) => void)): number
1645
+ connect_after(sigName: "notify::g-dup-func", callback: (($obj: SubArray, pspec: GObject.ParamSpec) => void)): number
1646
+ emit(sigName: "notify::g-dup-func", ...args: any[]): void
1647
+ connect(sigName: "notify::g-destroy-func", callback: (($obj: SubArray, pspec: GObject.ParamSpec) => void)): number
1648
+ connect_after(sigName: "notify::g-destroy-func", callback: (($obj: SubArray, pspec: GObject.ParamSpec) => void)): number
1649
+ emit(sigName: "notify::g-destroy-func", ...args: any[]): void
1650
+ connect(sigName: "notify::size", callback: (($obj: SubArray, pspec: GObject.ParamSpec) => void)): number
1651
+ connect_after(sigName: "notify::size", callback: (($obj: SubArray, pspec: GObject.ParamSpec) => void)): number
1652
+ emit(sigName: "notify::size", ...args: any[]): void
1653
+ connect(sigName: string, callback: (...args: any[]) => void): number
1654
+ connect_after(sigName: string, callback: (...args: any[]) => void): number
1655
+ emit(sigName: string, ...args: any[]): void
1656
+ disconnect(id: number): void
1657
+ }
1658
+
1659
+ export class SubArray extends GObject.Object {
1660
+
1661
+ // Own properties of Gpseq-1.0.Gpseq.SubArray
1662
+
1663
+ static name: string
1664
+ static $gtype: GObject.GType<SubArray>
1665
+
1666
+ // Constructors of Gpseq-1.0.Gpseq.SubArray
1667
+
1668
+ constructor(config?: SubArray.ConstructorProperties)
1669
+ constructor(g_type: GObject.GType, g_dup_func: GObject.BoxedCopyFunc, g_destroy_func: GLib.DestroyNotify, data: any[])
1670
+ static new(g_type: GObject.GType, g_dup_func: GObject.BoxedCopyFunc, g_destroy_func: GLib.DestroyNotify, data: any[]): SubArray
1671
+ static from_sub_array(g_type: GObject.GType, g_dup_func: GObject.BoxedCopyFunc, g_destroy_func: GLib.DestroyNotify, array: SubArray, start: number, stop: number): SubArray
1672
+ _init(config?: SubArray.ConstructorProperties): void
1673
+ }
1674
+
1675
+ export module SubArraySpliterator {
1676
+
1677
+ // Constructor properties interface
1678
+
1679
+ export interface ConstructorProperties extends Spliterator.ConstructorProperties, GObject.Object.ConstructorProperties {
1680
+
1681
+ // Own constructor properties of Gpseq-1.0.Gpseq.SubArraySpliterator
1682
+
1683
+ g_type?: GObject.GType | null
1684
+ g_dup_func?: GObject.BoxedCopyFunc | null
1685
+ g_destroy_func?: GLib.DestroyNotify | null
1686
+ }
1687
+
1688
+ }
1689
+
1690
+ export interface SubArraySpliterator extends Spliterator {
1691
+
1692
+ // Own properties of Gpseq-1.0.Gpseq.SubArraySpliterator
1693
+
1694
+ readonly g_type: GObject.GType
1695
+ readonly g_dup_func: GObject.BoxedCopyFunc
1696
+ readonly g_destroy_func: GLib.DestroyNotify
1697
+
1698
+ // Class property signals of Gpseq-1.0.Gpseq.SubArraySpliterator
1699
+
1700
+ connect(sigName: "notify::g-type", callback: (($obj: SubArraySpliterator, pspec: GObject.ParamSpec) => void)): number
1701
+ connect_after(sigName: "notify::g-type", callback: (($obj: SubArraySpliterator, pspec: GObject.ParamSpec) => void)): number
1702
+ emit(sigName: "notify::g-type", ...args: any[]): void
1703
+ connect(sigName: "notify::g-dup-func", callback: (($obj: SubArraySpliterator, pspec: GObject.ParamSpec) => void)): number
1704
+ connect_after(sigName: "notify::g-dup-func", callback: (($obj: SubArraySpliterator, pspec: GObject.ParamSpec) => void)): number
1705
+ emit(sigName: "notify::g-dup-func", ...args: any[]): void
1706
+ connect(sigName: "notify::g-destroy-func", callback: (($obj: SubArraySpliterator, pspec: GObject.ParamSpec) => void)): number
1707
+ connect_after(sigName: "notify::g-destroy-func", callback: (($obj: SubArraySpliterator, pspec: GObject.ParamSpec) => void)): number
1708
+ emit(sigName: "notify::g-destroy-func", ...args: any[]): void
1709
+ connect(sigName: "notify::estimated-size", callback: (($obj: SubArraySpliterator, pspec: GObject.ParamSpec) => void)): number
1710
+ connect_after(sigName: "notify::estimated-size", callback: (($obj: SubArraySpliterator, pspec: GObject.ParamSpec) => void)): number
1711
+ emit(sigName: "notify::estimated-size", ...args: any[]): void
1712
+ connect(sigName: "notify::is-size-known", callback: (($obj: SubArraySpliterator, pspec: GObject.ParamSpec) => void)): number
1713
+ connect_after(sigName: "notify::is-size-known", callback: (($obj: SubArraySpliterator, pspec: GObject.ParamSpec) => void)): number
1714
+ emit(sigName: "notify::is-size-known", ...args: any[]): void
1715
+ connect(sigName: string, callback: (...args: any[]) => void): number
1716
+ connect_after(sigName: string, callback: (...args: any[]) => void): number
1717
+ emit(sigName: string, ...args: any[]): void
1718
+ disconnect(id: number): void
1719
+ }
1720
+
1721
+ export class SubArraySpliterator extends GObject.Object {
1722
+
1723
+ // Own properties of Gpseq-1.0.Gpseq.SubArraySpliterator
1724
+
1725
+ static name: string
1726
+ static $gtype: GObject.GType<SubArraySpliterator>
1727
+
1728
+ // Constructors of Gpseq-1.0.Gpseq.SubArraySpliterator
1729
+
1730
+ constructor(config?: SubArraySpliterator.ConstructorProperties)
1731
+ constructor(g_type: GObject.GType, g_dup_func: GObject.BoxedCopyFunc, g_destroy_func: GLib.DestroyNotify, array: SubArray, start: number, stop: number)
1732
+ static new(g_type: GObject.GType, g_dup_func: GObject.BoxedCopyFunc, g_destroy_func: GLib.DestroyNotify, array: SubArray, start: number, stop: number): SubArraySpliterator
1733
+ _init(config?: SubArraySpliterator.ConstructorProperties): void
1734
+ }
1735
+
1736
+ export module SupplierSpliterator {
1737
+
1738
+ // Constructor properties interface
1739
+
1740
+ export interface ConstructorProperties extends Spliterator.ConstructorProperties, GObject.Object.ConstructorProperties {
1741
+
1742
+ // Own constructor properties of Gpseq-1.0.Gpseq.SupplierSpliterator
1743
+
1744
+ g_type?: GObject.GType | null
1745
+ g_dup_func?: GObject.BoxedCopyFunc | null
1746
+ g_destroy_func?: GLib.DestroyNotify | null
1747
+ }
1748
+
1749
+ }
1750
+
1751
+ export interface SupplierSpliterator extends Spliterator {
1752
+
1753
+ // Own properties of Gpseq-1.0.Gpseq.SupplierSpliterator
1754
+
1755
+ readonly g_type: GObject.GType
1756
+ readonly g_dup_func: GObject.BoxedCopyFunc
1757
+ readonly g_destroy_func: GLib.DestroyNotify
1758
+
1759
+ // Class property signals of Gpseq-1.0.Gpseq.SupplierSpliterator
1760
+
1761
+ connect(sigName: "notify::g-type", callback: (($obj: SupplierSpliterator, pspec: GObject.ParamSpec) => void)): number
1762
+ connect_after(sigName: "notify::g-type", callback: (($obj: SupplierSpliterator, pspec: GObject.ParamSpec) => void)): number
1763
+ emit(sigName: "notify::g-type", ...args: any[]): void
1764
+ connect(sigName: "notify::g-dup-func", callback: (($obj: SupplierSpliterator, pspec: GObject.ParamSpec) => void)): number
1765
+ connect_after(sigName: "notify::g-dup-func", callback: (($obj: SupplierSpliterator, pspec: GObject.ParamSpec) => void)): number
1766
+ emit(sigName: "notify::g-dup-func", ...args: any[]): void
1767
+ connect(sigName: "notify::g-destroy-func", callback: (($obj: SupplierSpliterator, pspec: GObject.ParamSpec) => void)): number
1768
+ connect_after(sigName: "notify::g-destroy-func", callback: (($obj: SupplierSpliterator, pspec: GObject.ParamSpec) => void)): number
1769
+ emit(sigName: "notify::g-destroy-func", ...args: any[]): void
1770
+ connect(sigName: "notify::estimated-size", callback: (($obj: SupplierSpliterator, pspec: GObject.ParamSpec) => void)): number
1771
+ connect_after(sigName: "notify::estimated-size", callback: (($obj: SupplierSpliterator, pspec: GObject.ParamSpec) => void)): number
1772
+ emit(sigName: "notify::estimated-size", ...args: any[]): void
1773
+ connect(sigName: "notify::is-size-known", callback: (($obj: SupplierSpliterator, pspec: GObject.ParamSpec) => void)): number
1774
+ connect_after(sigName: "notify::is-size-known", callback: (($obj: SupplierSpliterator, pspec: GObject.ParamSpec) => void)): number
1775
+ emit(sigName: "notify::is-size-known", ...args: any[]): void
1776
+ connect(sigName: string, callback: (...args: any[]) => void): number
1777
+ connect_after(sigName: string, callback: (...args: any[]) => void): number
1778
+ emit(sigName: string, ...args: any[]): void
1779
+ disconnect(id: number): void
1780
+ }
1781
+
1782
+ export class SupplierSpliterator extends GObject.Object {
1783
+
1784
+ // Own properties of Gpseq-1.0.Gpseq.SupplierSpliterator
1785
+
1786
+ static name: string
1787
+ static $gtype: GObject.GType<SupplierSpliterator>
1788
+
1789
+ // Constructors of Gpseq-1.0.Gpseq.SupplierSpliterator
1790
+
1791
+ constructor(config?: SupplierSpliterator.ConstructorProperties)
1792
+ constructor(g_type: GObject.GType, g_dup_func: GObject.BoxedCopyFunc, g_destroy_func: GLib.DestroyNotify, supplier: Supplier)
1793
+ static new(g_type: GObject.GType, g_dup_func: GObject.BoxedCopyFunc, g_destroy_func: GLib.DestroyNotify, supplier: Supplier): SupplierSpliterator
1794
+ _init(config?: SupplierSpliterator.ConstructorProperties): void
1795
+ }
1796
+
1797
+ export module TaskEnv {
1798
+
1799
+ // Constructor properties interface
1800
+
1801
+ export interface ConstructorProperties extends GObject.Object.ConstructorProperties {
1802
+ }
1803
+
1804
+ }
1805
+
1806
+ export interface TaskEnv {
1807
+
1808
+ // Own properties of Gpseq-1.0.Gpseq.TaskEnv
1809
+
1810
+ readonly executor: Executor
1811
+
1812
+ // Owm methods of Gpseq-1.0.Gpseq.TaskEnv
1813
+
1814
+ get_executor(): Executor
1815
+ resolve_threshold(elements: number, threads: number): number
1816
+ resolve_max_depth(elements: number, threads: number): number
1817
+
1818
+ // Own virtual methods of Gpseq-1.0.Gpseq.TaskEnv
1819
+
1820
+ vfunc_get_executor(): Executor
1821
+ vfunc_resolve_threshold(elements: number, threads: number): number
1822
+ vfunc_resolve_max_depth(elements: number, threads: number): number
1823
+
1824
+ // Class property signals of Gpseq-1.0.Gpseq.TaskEnv
1825
+
1826
+ connect(sigName: "notify::executor", callback: (($obj: TaskEnv, pspec: GObject.ParamSpec) => void)): number
1827
+ connect_after(sigName: "notify::executor", callback: (($obj: TaskEnv, pspec: GObject.ParamSpec) => void)): number
1828
+ emit(sigName: "notify::executor", ...args: any[]): void
1829
+ connect(sigName: string, callback: (...args: any[]) => void): number
1830
+ connect_after(sigName: string, callback: (...args: any[]) => void): number
1831
+ emit(sigName: string, ...args: any[]): void
1832
+ disconnect(id: number): void
1833
+ }
1834
+
1835
+ export class TaskEnv extends GObject.Object {
1836
+
1837
+ // Own properties of Gpseq-1.0.Gpseq.TaskEnv
1838
+
1839
+ static name: string
1840
+ static $gtype: GObject.GType<TaskEnv>
1841
+
1842
+ // Constructors of Gpseq-1.0.Gpseq.TaskEnv
1843
+
1844
+ constructor(config?: TaskEnv.ConstructorProperties)
1845
+ _init(config?: TaskEnv.ConstructorProperties): void
1846
+ static get_default_task_env(): TaskEnv
1847
+ static set_default_task_env(task_env: TaskEnv): void
1848
+ static get_common_task_env(): TaskEnv
1849
+ static push(task_env: TaskEnv): void
1850
+ static pop(): void
1851
+ static apply(task_env: TaskEnv, func: VoidFunc): void
1852
+ }
1853
+
1854
+ export module WaitGroup {
1855
+
1856
+ // Constructor properties interface
1857
+
1858
+ export interface ConstructorProperties extends GObject.Object.ConstructorProperties {
1859
+ }
1860
+
1861
+ }
1862
+
1863
+ export interface WaitGroup {
1864
+
1865
+ // Owm methods of Gpseq-1.0.Gpseq.WaitGroup
1866
+
1867
+ add(delta: number): void
1868
+ done(): void
1869
+ task(g_type: GObject.GType, g_dup_func: GObject.BoxedCopyFunc, g_destroy_func: GLib.DestroyNotify, func: TaskFunc): Future
1870
+ run(func: VoidTaskFunc): Future
1871
+ wait(): void
1872
+ wait_until(end_time: number): boolean
1873
+
1874
+ // Class property signals of Gpseq-1.0.Gpseq.WaitGroup
1875
+
1876
+ connect(sigName: string, callback: (...args: any[]) => void): number
1877
+ connect_after(sigName: string, callback: (...args: any[]) => void): number
1878
+ emit(sigName: string, ...args: any[]): void
1879
+ disconnect(id: number): void
1880
+ }
1881
+
1882
+ export class WaitGroup extends GObject.Object {
1883
+
1884
+ // Own properties of Gpseq-1.0.Gpseq.WaitGroup
1885
+
1886
+ static name: string
1887
+ static $gtype: GObject.GType<WaitGroup>
1888
+
1889
+ // Constructors of Gpseq-1.0.Gpseq.WaitGroup
1890
+
1891
+ constructor(config?: WaitGroup.ConstructorProperties)
1892
+ constructor()
1893
+ static new(): WaitGroup
1894
+ _init(config?: WaitGroup.ConstructorProperties): void
1895
+ }
1896
+
1897
+ export module WorkerPool {
1898
+
1899
+ // Constructor properties interface
1900
+
1901
+ export interface ConstructorProperties extends Executor.ConstructorProperties, GObject.Object.ConstructorProperties {
1902
+
1903
+ // Own constructor properties of Gpseq-1.0.Gpseq.WorkerPool
1904
+
1905
+ max_threads?: number | null
1906
+ }
1907
+
1908
+ }
1909
+
1910
+ export interface WorkerPool extends Executor {
1911
+
1912
+ // Own properties of Gpseq-1.0.Gpseq.WorkerPool
1913
+
1914
+ max_threads: number
1915
+ readonly num_threads: number
1916
+ readonly factory: ThreadFactory
1917
+ readonly is_terminating: boolean
1918
+ readonly is_terminated: boolean
1919
+ readonly is_terminating_started: boolean
1920
+
1921
+ // Owm methods of Gpseq-1.0.Gpseq.WorkerPool
1922
+
1923
+ get_max_threads(): number
1924
+ set_max_threads(value: number): void
1925
+ get_num_threads(): number
1926
+ get_factory(): ThreadFactory
1927
+ get_is_terminating(): boolean
1928
+ get_is_terminated(): boolean
1929
+ get_is_terminating_started(): boolean
1930
+ terminate(): void
1931
+ terminate_now(): void
1932
+ wait_termination(): void
1933
+ wait_termination_until(end_time: number): void
1934
+
1935
+ // Class property signals of Gpseq-1.0.Gpseq.WorkerPool
1936
+
1937
+ connect(sigName: "notify::max-threads", callback: (($obj: WorkerPool, pspec: GObject.ParamSpec) => void)): number
1938
+ connect_after(sigName: "notify::max-threads", callback: (($obj: WorkerPool, pspec: GObject.ParamSpec) => void)): number
1939
+ emit(sigName: "notify::max-threads", ...args: any[]): void
1940
+ connect(sigName: "notify::num-threads", callback: (($obj: WorkerPool, pspec: GObject.ParamSpec) => void)): number
1941
+ connect_after(sigName: "notify::num-threads", callback: (($obj: WorkerPool, pspec: GObject.ParamSpec) => void)): number
1942
+ emit(sigName: "notify::num-threads", ...args: any[]): void
1943
+ connect(sigName: "notify::factory", callback: (($obj: WorkerPool, pspec: GObject.ParamSpec) => void)): number
1944
+ connect_after(sigName: "notify::factory", callback: (($obj: WorkerPool, pspec: GObject.ParamSpec) => void)): number
1945
+ emit(sigName: "notify::factory", ...args: any[]): void
1946
+ connect(sigName: "notify::is-terminating", callback: (($obj: WorkerPool, pspec: GObject.ParamSpec) => void)): number
1947
+ connect_after(sigName: "notify::is-terminating", callback: (($obj: WorkerPool, pspec: GObject.ParamSpec) => void)): number
1948
+ emit(sigName: "notify::is-terminating", ...args: any[]): void
1949
+ connect(sigName: "notify::is-terminated", callback: (($obj: WorkerPool, pspec: GObject.ParamSpec) => void)): number
1950
+ connect_after(sigName: "notify::is-terminated", callback: (($obj: WorkerPool, pspec: GObject.ParamSpec) => void)): number
1951
+ emit(sigName: "notify::is-terminated", ...args: any[]): void
1952
+ connect(sigName: "notify::is-terminating-started", callback: (($obj: WorkerPool, pspec: GObject.ParamSpec) => void)): number
1953
+ connect_after(sigName: "notify::is-terminating-started", callback: (($obj: WorkerPool, pspec: GObject.ParamSpec) => void)): number
1954
+ emit(sigName: "notify::is-terminating-started", ...args: any[]): void
1955
+ connect(sigName: "notify::parallels", callback: (($obj: WorkerPool, pspec: GObject.ParamSpec) => void)): number
1956
+ connect_after(sigName: "notify::parallels", callback: (($obj: WorkerPool, pspec: GObject.ParamSpec) => void)): number
1957
+ emit(sigName: "notify::parallels", ...args: any[]): void
1958
+ connect(sigName: string, callback: (...args: any[]) => void): number
1959
+ connect_after(sigName: string, callback: (...args: any[]) => void): number
1960
+ emit(sigName: string, ...args: any[]): void
1961
+ disconnect(id: number): void
1962
+ }
1963
+
1964
+ export class WorkerPool extends GObject.Object {
1965
+
1966
+ // Own properties of Gpseq-1.0.Gpseq.WorkerPool
1967
+
1968
+ static name: string
1969
+ static $gtype: GObject.GType<WorkerPool>
1970
+
1971
+ // Constructors of Gpseq-1.0.Gpseq.WorkerPool
1972
+
1973
+ constructor(config?: WorkerPool.ConstructorProperties)
1974
+ static with_defaults(): WorkerPool
1975
+ constructor(parallels: number, factory: ThreadFactory)
1976
+ static new(parallels: number, factory: ThreadFactory): WorkerPool
1977
+ _init(config?: WorkerPool.ConstructorProperties): void
1978
+ static get_default_factory(): ThreadFactory
1979
+ }
1980
+
1981
+ export module WorkerThread {
1982
+
1983
+ // Constructor properties interface
1984
+
1985
+ export interface ConstructorProperties extends GObject.Object.ConstructorProperties {
1986
+ }
1987
+
1988
+ }
1989
+
1990
+ export interface WorkerThread {
1991
+
1992
+ // Own properties of Gpseq-1.0.Gpseq.WorkerThread
1993
+
1994
+ readonly thread: GLib.Thread
1995
+ readonly pool: WorkerPool
1996
+ readonly name: string | null
1997
+ readonly is_started: boolean
1998
+ readonly is_terminated: boolean
1999
+ readonly is_alive: boolean
2000
+
2001
+ // Owm methods of Gpseq-1.0.Gpseq.WorkerThread
2002
+
2003
+ get_thread(): GLib.Thread | null
2004
+ get_pool(): WorkerPool
2005
+ get_name(): string | null
2006
+ get_is_started(): boolean
2007
+ get_is_terminated(): boolean
2008
+ get_is_alive(): boolean
2009
+ start(): void
2010
+ join(): void
2011
+ blocking(g_type: GObject.GType, g_dup_func: GObject.BoxedCopyFunc, g_destroy_func: GLib.DestroyNotify, func: TaskFunc): any | null
2012
+
2013
+ // Class property signals of Gpseq-1.0.Gpseq.WorkerThread
2014
+
2015
+ connect(sigName: "notify::thread", callback: (($obj: WorkerThread, pspec: GObject.ParamSpec) => void)): number
2016
+ connect_after(sigName: "notify::thread", callback: (($obj: WorkerThread, pspec: GObject.ParamSpec) => void)): number
2017
+ emit(sigName: "notify::thread", ...args: any[]): void
2018
+ connect(sigName: "notify::pool", callback: (($obj: WorkerThread, pspec: GObject.ParamSpec) => void)): number
2019
+ connect_after(sigName: "notify::pool", callback: (($obj: WorkerThread, pspec: GObject.ParamSpec) => void)): number
2020
+ emit(sigName: "notify::pool", ...args: any[]): void
2021
+ connect(sigName: "notify::name", callback: (($obj: WorkerThread, pspec: GObject.ParamSpec) => void)): number
2022
+ connect_after(sigName: "notify::name", callback: (($obj: WorkerThread, pspec: GObject.ParamSpec) => void)): number
2023
+ emit(sigName: "notify::name", ...args: any[]): void
2024
+ connect(sigName: "notify::is-started", callback: (($obj: WorkerThread, pspec: GObject.ParamSpec) => void)): number
2025
+ connect_after(sigName: "notify::is-started", callback: (($obj: WorkerThread, pspec: GObject.ParamSpec) => void)): number
2026
+ emit(sigName: "notify::is-started", ...args: any[]): void
2027
+ connect(sigName: "notify::is-terminated", callback: (($obj: WorkerThread, pspec: GObject.ParamSpec) => void)): number
2028
+ connect_after(sigName: "notify::is-terminated", callback: (($obj: WorkerThread, pspec: GObject.ParamSpec) => void)): number
2029
+ emit(sigName: "notify::is-terminated", ...args: any[]): void
2030
+ connect(sigName: "notify::is-alive", callback: (($obj: WorkerThread, pspec: GObject.ParamSpec) => void)): number
2031
+ connect_after(sigName: "notify::is-alive", callback: (($obj: WorkerThread, pspec: GObject.ParamSpec) => void)): number
2032
+ emit(sigName: "notify::is-alive", ...args: any[]): void
2033
+ connect(sigName: string, callback: (...args: any[]) => void): number
2034
+ connect_after(sigName: string, callback: (...args: any[]) => void): number
2035
+ emit(sigName: string, ...args: any[]): void
2036
+ disconnect(id: number): void
2037
+ }
2038
+
2039
+ export class WorkerThread extends GObject.Object {
2040
+
2041
+ // Own properties of Gpseq-1.0.Gpseq.WorkerThread
2042
+
2043
+ static name: string
2044
+ static $gtype: GObject.GType<WorkerThread>
2045
+
2046
+ // Constructors of Gpseq-1.0.Gpseq.WorkerThread
2047
+
2048
+ constructor(config?: WorkerThread.ConstructorProperties)
2049
+ constructor(pool: WorkerPool)
2050
+ static new(pool: WorkerPool): WorkerThread
2051
+ _init(config?: WorkerThread.ConstructorProperties): void
2052
+ static get_by(thread: GLib.Thread): WorkerThread | null
2053
+ static self(): WorkerThread | null
2054
+ }
2055
+
2056
+ export module Wrapper {
2057
+
2058
+ // Constructor properties interface
2059
+
2060
+ export interface ConstructorProperties extends GObject.Object.ConstructorProperties {
2061
+
2062
+ // Own constructor properties of Gpseq-1.0.Gpseq.Wrapper
2063
+
2064
+ g_type?: GObject.GType | null
2065
+ g_dup_func?: GObject.BoxedCopyFunc | null
2066
+ g_destroy_func?: GLib.DestroyNotify | null
2067
+ }
2068
+
2069
+ }
2070
+
2071
+ export interface Wrapper {
2072
+
2073
+ // Own properties of Gpseq-1.0.Gpseq.Wrapper
2074
+
2075
+ readonly g_type: GObject.GType
2076
+ readonly g_dup_func: GObject.BoxedCopyFunc
2077
+ readonly g_destroy_func: GLib.DestroyNotify
2078
+ readonly value: any
2079
+ readonly value_type: GObject.GType
2080
+
2081
+ // Owm methods of Gpseq-1.0.Gpseq.Wrapper
2082
+
2083
+ get_value(): any | null
2084
+ get_value_type(): GObject.GType
2085
+
2086
+ // Class property signals of Gpseq-1.0.Gpseq.Wrapper
2087
+
2088
+ connect(sigName: "notify::g-type", callback: (($obj: Wrapper, pspec: GObject.ParamSpec) => void)): number
2089
+ connect_after(sigName: "notify::g-type", callback: (($obj: Wrapper, pspec: GObject.ParamSpec) => void)): number
2090
+ emit(sigName: "notify::g-type", ...args: any[]): void
2091
+ connect(sigName: "notify::g-dup-func", callback: (($obj: Wrapper, pspec: GObject.ParamSpec) => void)): number
2092
+ connect_after(sigName: "notify::g-dup-func", callback: (($obj: Wrapper, pspec: GObject.ParamSpec) => void)): number
2093
+ emit(sigName: "notify::g-dup-func", ...args: any[]): void
2094
+ connect(sigName: "notify::g-destroy-func", callback: (($obj: Wrapper, pspec: GObject.ParamSpec) => void)): number
2095
+ connect_after(sigName: "notify::g-destroy-func", callback: (($obj: Wrapper, pspec: GObject.ParamSpec) => void)): number
2096
+ emit(sigName: "notify::g-destroy-func", ...args: any[]): void
2097
+ connect(sigName: "notify::value", callback: (($obj: Wrapper, pspec: GObject.ParamSpec) => void)): number
2098
+ connect_after(sigName: "notify::value", callback: (($obj: Wrapper, pspec: GObject.ParamSpec) => void)): number
2099
+ emit(sigName: "notify::value", ...args: any[]): void
2100
+ connect(sigName: "notify::value-type", callback: (($obj: Wrapper, pspec: GObject.ParamSpec) => void)): number
2101
+ connect_after(sigName: "notify::value-type", callback: (($obj: Wrapper, pspec: GObject.ParamSpec) => void)): number
2102
+ emit(sigName: "notify::value-type", ...args: any[]): void
2103
+ connect(sigName: string, callback: (...args: any[]) => void): number
2104
+ connect_after(sigName: string, callback: (...args: any[]) => void): number
2105
+ emit(sigName: string, ...args: any[]): void
2106
+ disconnect(id: number): void
2107
+ }
2108
+
2109
+ export class Wrapper extends GObject.Object {
2110
+
2111
+ // Own properties of Gpseq-1.0.Gpseq.Wrapper
2112
+
2113
+ static name: string
2114
+ static $gtype: GObject.GType<Wrapper>
2115
+
2116
+ // Constructors of Gpseq-1.0.Gpseq.Wrapper
2117
+
2118
+ constructor(config?: Wrapper.ConstructorProperties)
2119
+ constructor(g_type: GObject.GType, g_dup_func: GObject.BoxedCopyFunc, g_destroy_func: GLib.DestroyNotify, value?: any | null)
2120
+ static new(g_type: GObject.GType, g_dup_func: GObject.BoxedCopyFunc, g_destroy_func: GLib.DestroyNotify, value?: any | null): Wrapper
2121
+ _init(config?: Wrapper.ConstructorProperties): void
2122
+ }
2123
+
2124
+ export interface ArraySpliteratorClass {
2125
+ }
2126
+
2127
+ export abstract class ArraySpliteratorClass {
2128
+
2129
+ // Own properties of Gpseq-1.0.Gpseq.ArraySpliteratorClass
2130
+
2131
+ static name: string
2132
+ }
2133
+
2134
+ export interface ArraySpliteratorPrivate {
2135
+ }
2136
+
2137
+ export class ArraySpliteratorPrivate {
2138
+
2139
+ // Own properties of Gpseq-1.0.Gpseq.ArraySpliteratorPrivate
2140
+
2141
+ static name: string
2142
+ }
2143
+
2144
+ export interface ForkJoinTaskClass {
2145
+
2146
+ // Own fields of Gpseq-1.0.Gpseq.ForkJoinTaskClass
2147
+
2148
+ compute: (self: ForkJoinTask) => void
2149
+ }
2150
+
2151
+ export abstract class ForkJoinTaskClass {
2152
+
2153
+ // Own properties of Gpseq-1.0.Gpseq.ForkJoinTaskClass
2154
+
2155
+ static name: string
2156
+ }
2157
+
2158
+ export interface ForkJoinTaskPrivate {
2159
+ }
2160
+
2161
+ export class ForkJoinTaskPrivate {
2162
+
2163
+ // Own properties of Gpseq-1.0.Gpseq.ForkJoinTaskPrivate
2164
+
2165
+ static name: string
2166
+ }
2167
+
2168
+ export interface ForkJoinTaskSharedResultClass {
2169
+ }
2170
+
2171
+ export abstract class ForkJoinTaskSharedResultClass {
2172
+
2173
+ // Own properties of Gpseq-1.0.Gpseq.ForkJoinTaskSharedResultClass
2174
+
2175
+ static name: string
2176
+ }
2177
+
2178
+ export interface ForkJoinTaskSharedResultPrivate {
2179
+ }
2180
+
2181
+ export class ForkJoinTaskSharedResultPrivate {
2182
+
2183
+ // Own properties of Gpseq-1.0.Gpseq.ForkJoinTaskSharedResultPrivate
2184
+
2185
+ static name: string
2186
+ }
2187
+
2188
+ export interface FuncTaskClass {
2189
+ }
2190
+
2191
+ export abstract class FuncTaskClass {
2192
+
2193
+ // Own properties of Gpseq-1.0.Gpseq.FuncTaskClass
2194
+
2195
+ static name: string
2196
+ }
2197
+
2198
+ export interface FuncTaskPrivate {
2199
+ }
2200
+
2201
+ export class FuncTaskPrivate {
2202
+
2203
+ // Own properties of Gpseq-1.0.Gpseq.FuncTaskPrivate
2204
+
2205
+ static name: string
2206
+ }
2207
+
2208
+ export interface FutureClass {
2209
+
2210
+ // Own fields of Gpseq-1.0.Gpseq.FutureClass
2211
+
2212
+ wait: (self: Future) => any | null
2213
+ wait_until: (self: Future, end_time: number) => [ /* returnType */ boolean, /* value */ any | null ]
2214
+ transform: (self: Future, a_type: GObject.GType, a_dup_func: GObject.BoxedCopyFunc, a_destroy_func: GLib.DestroyNotify, func: any) => Result
2215
+ }
2216
+
2217
+ export abstract class FutureClass {
2218
+
2219
+ // Own properties of Gpseq-1.0.Gpseq.FutureClass
2220
+
2221
+ static name: string
2222
+ }
2223
+
2224
+ export interface FuturePrivate {
2225
+ }
2226
+
2227
+ export class FuturePrivate {
2228
+
2229
+ // Own properties of Gpseq-1.0.Gpseq.FuturePrivate
2230
+
2231
+ static name: string
2232
+ }
2233
+
2234
+ export interface GenericArraySpliteratorClass {
2235
+ }
2236
+
2237
+ export abstract class GenericArraySpliteratorClass {
2238
+
2239
+ // Own properties of Gpseq-1.0.Gpseq.GenericArraySpliteratorClass
2240
+
2241
+ static name: string
2242
+ }
2243
+
2244
+ export interface GenericArraySpliteratorPrivate {
2245
+ }
2246
+
2247
+ export class GenericArraySpliteratorPrivate {
2248
+
2249
+ // Own properties of Gpseq-1.0.Gpseq.GenericArraySpliteratorPrivate
2250
+
2251
+ static name: string
2252
+ }
2253
+
2254
+ export interface IteratorSpliteratorClass {
2255
+ }
2256
+
2257
+ export abstract class IteratorSpliteratorClass {
2258
+
2259
+ // Own properties of Gpseq-1.0.Gpseq.IteratorSpliteratorClass
2260
+
2261
+ static name: string
2262
+ }
2263
+
2264
+ export interface IteratorSpliteratorPrivate {
2265
+ }
2266
+
2267
+ export class IteratorSpliteratorPrivate {
2268
+
2269
+ // Own properties of Gpseq-1.0.Gpseq.IteratorSpliteratorPrivate
2270
+
2271
+ static name: string
2272
+ }
2273
+
2274
+ export interface ListSpliteratorClass {
2275
+ }
2276
+
2277
+ export abstract class ListSpliteratorClass {
2278
+
2279
+ // Own properties of Gpseq-1.0.Gpseq.ListSpliteratorClass
2280
+
2281
+ static name: string
2282
+ }
2283
+
2284
+ export interface ListSpliteratorPrivate {
2285
+ }
2286
+
2287
+ export class ListSpliteratorPrivate {
2288
+
2289
+ // Own properties of Gpseq-1.0.Gpseq.ListSpliteratorPrivate
2290
+
2291
+ static name: string
2292
+ }
2293
+
2294
+ export interface OptionalClass {
2295
+ }
2296
+
2297
+ export abstract class OptionalClass {
2298
+
2299
+ // Own properties of Gpseq-1.0.Gpseq.OptionalClass
2300
+
2301
+ static name: string
2302
+ }
2303
+
2304
+ export interface OptionalPrivate {
2305
+ }
2306
+
2307
+ export class OptionalPrivate {
2308
+
2309
+ // Own properties of Gpseq-1.0.Gpseq.OptionalPrivate
2310
+
2311
+ static name: string
2312
+ }
2313
+
2314
+ export interface PromiseClass {
2315
+ }
2316
+
2317
+ export abstract class PromiseClass {
2318
+
2319
+ // Own properties of Gpseq-1.0.Gpseq.PromiseClass
2320
+
2321
+ static name: string
2322
+ }
2323
+
2324
+ export interface PromisePrivate {
2325
+ }
2326
+
2327
+ export class PromisePrivate {
2328
+
2329
+ // Own properties of Gpseq-1.0.Gpseq.PromisePrivate
2330
+
2331
+ static name: string
2332
+ }
2333
+
2334
+ export interface SeqClass {
2335
+ }
2336
+
2337
+ export abstract class SeqClass {
2338
+
2339
+ // Own properties of Gpseq-1.0.Gpseq.SeqClass
2340
+
2341
+ static name: string
2342
+ }
2343
+
2344
+ export interface SeqPrivate {
2345
+ }
2346
+
2347
+ export class SeqPrivate {
2348
+
2349
+ // Own properties of Gpseq-1.0.Gpseq.SeqPrivate
2350
+
2351
+ static name: string
2352
+ }
2353
+
2354
+ export interface SpliteratorTaskClass {
2355
+
2356
+ // Own fields of Gpseq-1.0.Gpseq.SpliteratorTaskClass
2357
+
2358
+ leaf_compute: (self: SpliteratorTask) => any | null
2359
+ merge_results: (self: SpliteratorTask, left?: any | null, right?: any | null) => any | null
2360
+ make_child: (self: SpliteratorTask, spliterator: Spliterator) => SpliteratorTask
2361
+ }
2362
+
2363
+ export abstract class SpliteratorTaskClass {
2364
+
2365
+ // Own properties of Gpseq-1.0.Gpseq.SpliteratorTaskClass
2366
+
2367
+ static name: string
2368
+ }
2369
+
2370
+ export interface SpliteratorTaskPrivate {
2371
+ }
2372
+
2373
+ export class SpliteratorTaskPrivate {
2374
+
2375
+ // Own properties of Gpseq-1.0.Gpseq.SpliteratorTaskPrivate
2376
+
2377
+ static name: string
2378
+ }
2379
+
2380
+ export interface SubArrayClass {
2381
+ }
2382
+
2383
+ export abstract class SubArrayClass {
2384
+
2385
+ // Own properties of Gpseq-1.0.Gpseq.SubArrayClass
2386
+
2387
+ static name: string
2388
+ }
2389
+
2390
+ export interface SubArrayPrivate {
2391
+ }
2392
+
2393
+ export class SubArrayPrivate {
2394
+
2395
+ // Own properties of Gpseq-1.0.Gpseq.SubArrayPrivate
2396
+
2397
+ static name: string
2398
+ }
2399
+
2400
+ export interface SubArraySpliteratorClass {
2401
+ }
2402
+
2403
+ export abstract class SubArraySpliteratorClass {
2404
+
2405
+ // Own properties of Gpseq-1.0.Gpseq.SubArraySpliteratorClass
2406
+
2407
+ static name: string
2408
+ }
2409
+
2410
+ export interface SubArraySpliteratorPrivate {
2411
+ }
2412
+
2413
+ export class SubArraySpliteratorPrivate {
2414
+
2415
+ // Own properties of Gpseq-1.0.Gpseq.SubArraySpliteratorPrivate
2416
+
2417
+ static name: string
2418
+ }
2419
+
2420
+ export interface SupplierSpliteratorClass {
2421
+ }
2422
+
2423
+ export abstract class SupplierSpliteratorClass {
2424
+
2425
+ // Own properties of Gpseq-1.0.Gpseq.SupplierSpliteratorClass
2426
+
2427
+ static name: string
2428
+ }
2429
+
2430
+ export interface SupplierSpliteratorPrivate {
2431
+ }
2432
+
2433
+ export class SupplierSpliteratorPrivate {
2434
+
2435
+ // Own properties of Gpseq-1.0.Gpseq.SupplierSpliteratorPrivate
2436
+
2437
+ static name: string
2438
+ }
2439
+
2440
+ export interface TaskEnvClass {
2441
+
2442
+ // Own fields of Gpseq-1.0.Gpseq.TaskEnvClass
2443
+
2444
+ resolve_threshold: (self: TaskEnv, elements: number, threads: number) => number
2445
+ resolve_max_depth: (self: TaskEnv, elements: number, threads: number) => number
2446
+ }
2447
+
2448
+ export abstract class TaskEnvClass {
2449
+
2450
+ // Own properties of Gpseq-1.0.Gpseq.TaskEnvClass
2451
+
2452
+ static name: string
2453
+ }
2454
+
2455
+ export interface TaskEnvPrivate {
2456
+ }
2457
+
2458
+ export class TaskEnvPrivate {
2459
+
2460
+ // Own properties of Gpseq-1.0.Gpseq.TaskEnvPrivate
2461
+
2462
+ static name: string
2463
+ }
2464
+
2465
+ export interface WaitGroupClass {
2466
+ }
2467
+
2468
+ export abstract class WaitGroupClass {
2469
+
2470
+ // Own properties of Gpseq-1.0.Gpseq.WaitGroupClass
2471
+
2472
+ static name: string
2473
+ }
2474
+
2475
+ export interface WaitGroupPrivate {
2476
+ }
2477
+
2478
+ export class WaitGroupPrivate {
2479
+
2480
+ // Own properties of Gpseq-1.0.Gpseq.WaitGroupPrivate
2481
+
2482
+ static name: string
2483
+ }
2484
+
2485
+ export interface WorkerPoolClass {
2486
+ }
2487
+
2488
+ export abstract class WorkerPoolClass {
2489
+
2490
+ // Own properties of Gpseq-1.0.Gpseq.WorkerPoolClass
2491
+
2492
+ static name: string
2493
+ }
2494
+
2495
+ export interface WorkerPoolPrivate {
2496
+ }
2497
+
2498
+ export class WorkerPoolPrivate {
2499
+
2500
+ // Own properties of Gpseq-1.0.Gpseq.WorkerPoolPrivate
2501
+
2502
+ static name: string
2503
+ }
2504
+
2505
+ export interface WorkerThreadClass {
2506
+ }
2507
+
2508
+ export abstract class WorkerThreadClass {
2509
+
2510
+ // Own properties of Gpseq-1.0.Gpseq.WorkerThreadClass
2511
+
2512
+ static name: string
2513
+ }
2514
+
2515
+ export interface WorkerThreadPrivate {
2516
+ }
2517
+
2518
+ export class WorkerThreadPrivate {
2519
+
2520
+ // Own properties of Gpseq-1.0.Gpseq.WorkerThreadPrivate
2521
+
2522
+ static name: string
2523
+ }
2524
+
2525
+ export interface WrapperClass {
2526
+ }
2527
+
2528
+ export abstract class WrapperClass {
2529
+
2530
+ // Own properties of Gpseq-1.0.Gpseq.WrapperClass
2531
+
2532
+ static name: string
2533
+ }
2534
+
2535
+ export interface WrapperPrivate {
2536
+ }
2537
+
2538
+ export class WrapperPrivate {
2539
+
2540
+ // Own properties of Gpseq-1.0.Gpseq.WrapperPrivate
2541
+
2542
+ static name: string
2543
+ }
2544
+
2545
+ export interface ChannelIface {
2546
+ }
2547
+
2548
+ export abstract class ChannelIface {
2549
+
2550
+ // Own properties of Gpseq-1.0.Gpseq.ChannelIface
2551
+
2552
+ static name: string
2553
+ }
2554
+
2555
+ export interface ChannelBaseIface {
2556
+
2557
+ // Own fields of Gpseq-1.0.Gpseq.ChannelBaseIface
2558
+
2559
+ close: (self: ChannelBase) => void
2560
+ get_capacity: (self: ChannelBase) => Optional
2561
+ get_length: (self: ChannelBase) => number
2562
+ get_is_full: (self: ChannelBase) => boolean
2563
+ get_is_empty: (self: ChannelBase) => boolean
2564
+ }
2565
+
2566
+ export abstract class ChannelBaseIface {
2567
+
2568
+ // Own properties of Gpseq-1.0.Gpseq.ChannelBaseIface
2569
+
2570
+ static name: string
2571
+ }
2572
+
2573
+ export interface CollectorIface {
2574
+
2575
+ // Own fields of Gpseq-1.0.Gpseq.CollectorIface
2576
+
2577
+ create_accumulator: (self: Collector) => any | null
2578
+ accumulate: (self: Collector, g?: any | null, a?: any | null) => void
2579
+ combine: (self: Collector, a?: any | null, b?: any | null) => any | null
2580
+ finish: (self: Collector, a?: any | null) => any | null
2581
+ get_features: (self: Collector) => CollectorFeatures
2582
+ }
2583
+
2584
+ export abstract class CollectorIface {
2585
+
2586
+ // Own properties of Gpseq-1.0.Gpseq.CollectorIface
2587
+
2588
+ static name: string
2589
+ }
2590
+
2591
+ export interface ExecutorIface {
2592
+
2593
+ // Own fields of Gpseq-1.0.Gpseq.ExecutorIface
2594
+
2595
+ submit: (self: Executor, task: Task) => void
2596
+ get_parallels: (self: Executor) => number
2597
+ }
2598
+
2599
+ export abstract class ExecutorIface {
2600
+
2601
+ // Own properties of Gpseq-1.0.Gpseq.ExecutorIface
2602
+
2603
+ static name: string
2604
+ }
2605
+
2606
+ export interface ReceiverIface {
2607
+
2608
+ // Own fields of Gpseq-1.0.Gpseq.ReceiverIface
2609
+
2610
+ recv: (self: Receiver) => Result
2611
+ recv_until: (self: Receiver, end_time: number) => Result
2612
+ try_recv: (self: Receiver) => Result
2613
+ }
2614
+
2615
+ export abstract class ReceiverIface {
2616
+
2617
+ // Own properties of Gpseq-1.0.Gpseq.ReceiverIface
2618
+
2619
+ static name: string
2620
+ }
2621
+
2622
+ export interface ResultIface {
2623
+
2624
+ // Own fields of Gpseq-1.0.Gpseq.ResultIface
2625
+
2626
+ future: (self: Result) => Future
2627
+ get: (self: Result) => any | null
2628
+ transform: (self: Result, a_type: GObject.GType, a_dup_func: GObject.BoxedCopyFunc, a_destroy_func: GLib.DestroyNotify, func: any) => Result
2629
+ flat_map: (self: Result, a_type: GObject.GType, a_dup_func: GObject.BoxedCopyFunc, a_destroy_func: GLib.DestroyNotify, func: any) => Result
2630
+ map: (self: Result, a_type: GObject.GType, a_dup_func: GObject.BoxedCopyFunc, a_destroy_func: GLib.DestroyNotify, func: any) => Result
2631
+ map_err: (self: Result, func: any) => Result
2632
+ zip: (self: Result, a_type: GObject.GType, a_dup_func: GObject.BoxedCopyFunc, a_destroy_func: GLib.DestroyNotify, b_type: GObject.GType, b_dup_func: GObject.BoxedCopyFunc, b_destroy_func: GLib.DestroyNotify, zip_func: any, second: Result) => Result
2633
+ then: (self: Result, func: GLib.Func) => Result
2634
+ and_then: (self: Result, func: Func) => Result
2635
+ }
2636
+
2637
+ export abstract class ResultIface {
2638
+
2639
+ // Own properties of Gpseq-1.0.Gpseq.ResultIface
2640
+
2641
+ static name: string
2642
+ }
2643
+
2644
+ export interface SenderIface {
2645
+
2646
+ // Own fields of Gpseq-1.0.Gpseq.SenderIface
2647
+
2648
+ send: (self: Sender, data?: any | null) => Result
2649
+ send_until: (self: Sender, data: any | null, end_time: number) => Result
2650
+ try_send: (self: Sender, data?: any | null) => Result
2651
+ }
2652
+
2653
+ export abstract class SenderIface {
2654
+
2655
+ // Own properties of Gpseq-1.0.Gpseq.SenderIface
2656
+
2657
+ static name: string
2658
+ }
2659
+
2660
+ export interface SpliteratorIface {
2661
+
2662
+ // Own fields of Gpseq-1.0.Gpseq.SpliteratorIface
2663
+
2664
+ try_split: (self: Spliterator) => Spliterator | null
2665
+ try_advance: (self: Spliterator, consumer: Func) => boolean
2666
+ each: (self: Spliterator, f: Func) => void
2667
+ each_chunk: (self: Spliterator, f: EachChunkFunc) => boolean
2668
+ get_estimated_size: (self: Spliterator) => number
2669
+ get_is_size_known: (self: Spliterator) => boolean
2670
+ }
2671
+
2672
+ export abstract class SpliteratorIface {
2673
+
2674
+ // Own properties of Gpseq-1.0.Gpseq.SpliteratorIface
2675
+
2676
+ static name: string
2677
+ }
2678
+
2679
+ export interface SupplierIface {
2680
+
2681
+ // Own fields of Gpseq-1.0.Gpseq.SupplierIface
2682
+
2683
+ supply: (self: Supplier) => any | null
2684
+ }
2685
+
2686
+ export abstract class SupplierIface {
2687
+
2688
+ // Own properties of Gpseq-1.0.Gpseq.SupplierIface
2689
+
2690
+ static name: string
2691
+ }
2692
+
2693
+ export interface TaskIface {
2694
+
2695
+ // Own fields of Gpseq-1.0.Gpseq.TaskIface
2696
+
2697
+ compute: (self: Task) => void
2698
+ get_future: (self: Task) => Future
2699
+ }
2700
+
2701
+ export abstract class TaskIface {
2702
+
2703
+ // Own properties of Gpseq-1.0.Gpseq.TaskIface
2704
+
2705
+ static name: string
2706
+ }
2707
+
2708
+ export interface ThreadFactoryIface {
2709
+
2710
+ // Own fields of Gpseq-1.0.Gpseq.ThreadFactoryIface
2711
+
2712
+ create_thread: (self: ThreadFactory, pool: WorkerPool) => WorkerThread
2713
+ }
2714
+
2715
+ export abstract class ThreadFactoryIface {
2716
+
2717
+ // Own properties of Gpseq-1.0.Gpseq.ThreadFactoryIface
2718
+
2719
+ static name: string
2720
+ }
2721
+
2722
+ export interface CacheLinePad {
2723
+ }
2724
+
2725
+ export class CacheLinePad {
2726
+
2727
+ // Own properties of Gpseq-1.0.Gpseq.CacheLinePad
2728
+
2729
+ static name: string
2730
+ }
2731
+
2732
+ /**
2733
+ * Name of the imported GIR library
2734
+ * @see https://gitlab.gnome.org/GNOME/gjs/-/blob/master/gi/ns.cpp#L188
2735
+ */
2736
+ export const __name__: string
2737
+ /**
2738
+ * Version of the imported GIR library
2739
+ * @see https://gitlab.gnome.org/GNOME/gjs/-/blob/master/gi/ns.cpp#L189
2740
+ */
2741
+ export const __version__: string
2742
+ // END