proc resume(self: GDScriptFunctionState; arg: Variant = newVariant()): Variant {.gcsafe, locks: 0, raises: [], tags: [].}
proc isValid(self: GDScriptFunctionState; extendedCheck: bool = false): bool {.gcsafe, locks: 0, raises: [], tags: [].}
method signalCallback(self: GDScriptFunctionState; variantArgs: varargs[Variant]): Variant {. gcsafe, locks: 0, base, raises: [CallError, ValueError], tags: [].}