Skip to content

Declared in <galanthus/c_api/gln_capi.h>.

GLN_API void GLN_CALL gln_destroy_continuation(gln_continuation_t* in_continuation);
  • Family: Destroy and release functions
  • Return type: void

Purpose

Releases a continuation handle owned by the caller.

Return

Returns no value.

TypeNullabilityOwnership
voidvaluevalue

Parameters

NameDirectionTypeNullabilityOwnership
in_continuationinputgln_continuation_t*nonnullborrowed

Notes

Use this for continuations returned by gln_take_backend_result_continuation or gln_load_continuation after the caller has saved, resumed, or discarded the continuation.

gln_resume_continuation borrows its in_continuation argument and does not release it for the caller.

See Also