Skip to content

CompactionStrategy unusable with IsolatedHive #305

Description

@mbenabda

SendPort.send cannot transmit a function reference across isolate boundaries

Steps to Reproduce
use a compaction strategy when opening a box with IsolatedHive

Code sample

await IsolatedHive.openBox<String>('stuff', compactionStrategy: (entries, deletedEntries) => false);

Version

  • Flutter version: 3.41.4
  • Hive version:
    • hive_ce: "2.19.3"
    • hive_ce_flutter: "2.3.4"

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions