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