git » sdk » omemo » tree

[omemo] / snikket / persistence / KeyValueStore.hx

1
2
3
4
5
6
7
8
9
package snikket.persistence;

#if cpp
@:build(HaxeSwiftBridge.expose())
#end
interface KeyValueStore {
	public function get(k: String, callback: (Null<String>)->Void): Void;
	public function set(k: String, v: Null<String>, callback: ()->Void): Void;
}