Contents

es_retain_message(_:)

Retains the given message, extending its lifetime until released.

Declaration

func es_retain_message(_ msg: UnsafePointer<es_message_t>)

Parameters

  • msg:

    The message to retain.

Discussion

If you asynchronously process the message provided to the event-handler block of es_new_client(_:_:), you must retain the message.

See Also

Retaining and Releasing Messages