crateApiPythonPythonUtilityRunFile method
Future<void>
crateApiPythonPythonUtilityRunFile(
{ - required String filePath,
})
override
Implementation
@override
Future<void> crateApiPythonPythonUtilityRunFile({required String filePath}) {
return handler.executeNormal(NormalTask(
callFfi: (port_) {
final serializer = SseSerializer(generalizedFrbRustBinding);
sse_encode_String(filePath, serializer);
pdeCallFfi(generalizedFrbRustBinding, serializer,
funcId: 27, port: port_);
},
codec: SseCodec(
decodeSuccessData: sse_decode_unit,
decodeErrorData: sse_decode_AnyhowException,
),
constMeta: kCrateApiPythonPythonUtilityRunFileConstMeta,
argValues: [filePath],
apiImpl: this,
));
}