feat: make worker optional

* worker can be enabled with prop, defaults to false
* add deep unref function

Signed-off-by: Braks <78412429+bcakmakoglu@users.noreply.github.com>
This commit is contained in:
Braks
2021-11-20 19:56:35 +01:00
parent 668fed1dc4
commit e648e1a179
4 changed files with 100 additions and 43 deletions
+1
View File
@@ -141,4 +141,5 @@ export interface FlowOptions {
edgeUpdaterRadius?: number
storageKey?: string
loading?: Loading
worker?: boolean
}