setAsync

external fun setAsync(name: String, value: String): Promise<Void>(source)

The set() method of the CookieStore interface sets a cookie with the given name and value or options object.

MDN Reference


external fun setAsync(options: CookieInit): Promise<Void>(source)