default: {
custom: ((bindPath: string, executable: string, args: string[]) => Promise<{
code: number;
data: string;
error: string;
}>);
freefem: ((bindPath: string, script: string, callback: ((data: {
data?: string;
error?: string;
pid?: number;
}) => void), nCores: number, customExecutable?: string) => Promise<number>);
gmsh: ((bindPath: string, fileIn: string, fileOut: string, callback: ((data: {
data?: string;
error?: string;
pid?: number;
}) => void), customExecutable?: string) => Promise<number>);
pvpython: ((bindPath: string, script: string, fileIn: string, fileOut: string, parameters: string[]) => Promise<{
code: number;
data: string;
error: string;
}>);
toThree: ((bindPath: string, fileIn: string, glbOut: string, brepOut?: string) => Promise<{
code: number;
data: string;
error: string;
}>);
} = ...
Type declaration
custom: ((bindPath: string, executable: string, args: string[]) => Promise<{
code: number;
data: string;
error: string;
}>)
- (bindPath, executable, args): Promise<{
code: number;
data: string;
error: string;
}> Parameters
- bindPath: string
- executable: string
- args: string[]
Returns Promise<{
code: number;
data: string;
error: string;
}>
Code, data, error
freefem: ((bindPath: string, script: string, callback: ((data: {
data?: string;
error?: string;
pid?: number;
}) => void), nCores: number, customExecutable?: string) => Promise<number>)
- (bindPath, script, callback, nCores, customExecutable?): Promise<number>
Parameters
- bindPath: string
- script: string
- callback: ((data: {
data?: string;
error?: string;
pid?: number;
}) => void)- (data): void
Parameters
- data: {
data?: string;
error?: string;
pid?: number;
}Optional
data?: string
Optional
error?: string
Optional
pid?: number
Returns void
- nCores: number
Optional
customExecutable: string
Returns Promise<number>
Code
gmsh: ((bindPath: string, fileIn: string, fileOut: string, callback: ((data: {
data?: string;
error?: string;
pid?: number;
}) => void), customExecutable?: string) => Promise<number>)
- (bindPath, fileIn, fileOut, callback, customExecutable?): Promise<number>
Parameters
- bindPath: string
- fileIn: string
- fileOut: string
- callback: ((data: {
data?: string;
error?: string;
pid?: number;
}) => void)- (data): void
Parameters
- data: {
data?: string;
error?: string;
pid?: number;
}Optional
data?: string
Optional
error?: string
Optional
pid?: number
Returns void
Optional
customExecutable: string
Returns Promise<number>
Code
pvpython: ((bindPath: string, script: string, fileIn: string, fileOut: string, parameters: string[]) => Promise<{
code: number;
data: string;
error: string;
}>)
- (bindPath, script, fileIn, fileOut, parameters): Promise<{
code: number;
data: string;
error: string;
}> Parameters
- bindPath: string
- script: string
- fileIn: string
- fileOut: string
- parameters: string[]
Returns Promise<{
code: number;
data: string;
error: string;
}>
Code, data, error
toThree: ((bindPath: string, fileIn: string, glbOut: string, brepOut?: string) => Promise<{
code: number;
data: string;
error: string;
}>)
- (bindPath, fileIn, glbOut, brepOut?): Promise<{
code: number;
data: string;
error: string;
}> Parameters
- bindPath: string
- fileIn: string
- glbOut: string
Optional
brepOut: string
Returns Promise<{
code: number;
data: string;
error: string;
}>
Code, data, error
Custom service
Use tanatloc/worker docker custom command