fetchDraft

Fetch a draft event.

This method returns a copy of the stored draft event. It won't remove the draft event and you can call this method again with the same stream key to obtain another copy.

Return

A copy of the draft event or null if no such draft event.

Parameters

key

Key of the stream the draft event is associated with; null for draft event without a stream.

See also