Function: toDisposable()
Call Signature
function toDisposable(disposable): IDisposable
Defined in: packages/api/tmp/univer-pro/submodules/univer/packages/core/src/shared/lifecycle.ts:24
Parameters
Parameter | Type |
---|---|
disposable | IDisposable |
Returns
Call Signature
function toDisposable(subscription): IDisposable
Defined in: packages/api/tmp/univer-pro/submodules/univer/packages/core/src/shared/lifecycle.ts:25
Parameters
Parameter | Type |
---|---|
subscription | SubscriptionLike |
Returns
Call Signature
function toDisposable(callback): IDisposable
Defined in: packages/api/tmp/univer-pro/submodules/univer/packages/core/src/shared/lifecycle.ts:26
Parameters
Parameter | Type |
---|---|
callback | () => void |
Returns
Call Signature
function toDisposable(v): IDisposable
Defined in: packages/api/tmp/univer-pro/submodules/univer/packages/core/src/shared/lifecycle.ts:27
Parameters
Parameter | Type |
---|---|
v | DisposableLike |